mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
28 lines
668 B
Nix
28 lines
668 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "imath";
|
|
version = "3.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AcademySoftwareFoundation";
|
|
repo = "imath";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pniIhpq2eXAZemq8LavXXv6+tGrBkqZ09Kjvi4aZdu8=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|