tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openvdb: refactor for split outputs
Mike Purvis
3 years ago
fc9b47c5
2bd27f69
+10
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
openvdb
default.nix
+10
pkgs/development/libraries/openvdb/default.nix
···
5
5
pname = "openvdb";
6
6
version = "9.1.0";
7
7
8
8
+
outputs = [ "out" "dev" ];
9
9
+
8
10
src = fetchFromGitHub {
9
11
owner = "dreamworksanimation";
10
12
repo = "openvdb";
···
15
17
nativeBuildInputs = [ cmake ];
16
18
17
19
buildInputs = [ openexr boost tbb jemalloc c-blosc ilmbase ];
20
20
+
21
21
+
cmakeFlags = [ "-DOPENVDB_CORE_STATIC=OFF" ];
22
22
+
23
23
+
postFixup = ''
24
24
+
substituteInPlace $dev/lib/cmake/OpenVDB/FindOpenVDB.cmake \
25
25
+
--replace \''${OPENVDB_LIBRARYDIR} $out/lib \
26
26
+
--replace \''${OPENVDB_INCLUDEDIR} $dev/include
27
27
+
'';
18
28
19
29
meta = with lib; {
20
30
description = "An open framework for voxel";