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

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-01-24 14:33:39 +01:00
version = "3.1.4";
2021-07-11 07:59:40 +02:00
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "imath";
rev = "v${version}";
2022-01-24 14:33:39 +01:00
sha256 = "sha256-FZXIIzAxhd0QlJAV0q7spEa1pNFXutI0WFZbT3izN4M=";
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;
};
}