01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
27 lines
668 B
Nix
27 lines
668 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "imath";
|
|
version = "3.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AcademySoftwareFoundation";
|
|
repo = "imath";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-FUruHlnFMSl+8r1VZnUQd2feLNGz+k0mLuyca9cgcbw=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|