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";
2023-06-04 03:14:39 +02:00
version = "3.1.9";
2021-07-11 07:59:40 +02:00
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "imath";
rev = "v${version}";
2023-06-04 03:14:39 +02:00
sha256 = "sha256-NcGiYz7jbxLyVd80lOIyN3zXcC4mHh+dcFEY4Kqw9BY=";
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;
};
}