nixpkgs/pkgs/development/libraries/imath/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
668 B
Nix
Raw Normal View History

2021-07-11 07:59:40 +02:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "imath";
2022-11-09 01:17:51 +01:00
version = "3.1.6";
2021-07-11 07:59:40 +02:00
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "imath";
rev = "v${version}";
2022-11-09 01:17:51 +01:00
sha256 = "sha256-FUruHlnFMSl+8r1VZnUQd2feLNGz+k0mLuyca9cgcbw=";
2021-07-11 07:59:40 +02:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Imath is a C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics";
homepage = "https://github.com/AcademySoftwareFoundation/Imath";
license = licenses.bsd3;
maintainers = with maintainers; [ paperdigits ];
platforms = platforms.all;
};
}