blob: fe65e5274b9524655b3253f45258d2f24a7205e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "imath";
version = "3.2.3";
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "imath";
rev = "v${finalAttrs.version}";
hash = "sha256-kmWj9g6PnvgEOojjiWYpJ9+lXwT1svpezYDsCns4NP0=";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics";
homepage = "https://github.com/AcademySoftwareFoundation/Imath";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ paperdigits ];
platforms = lib.platforms.all;
};
})
|