tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
openscenegraph: opencascade -> opencascade-occt
Ben Darwin
2 years ago
f799d5a5
5a82c615
+12
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
openscenegraph
default.nix
+12
-4
pkgs/development/libraries/openscenegraph/default.nix
···
1
1
-
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, doxygen,
1
1
+
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, pkg-config, doxygen,
2
2
libX11, libXinerama, libXrandr, libGLU, libGL,
3
3
glib, ilmbase, libxml2, pcre, zlib,
4
4
AGL, Accelerate, Carbon, Cocoa, Foundation,
···
11
11
gdalSupport ? false, gdal,
12
12
curlSupport ? true, curl,
13
13
colladaSupport ? false, collada-dom,
14
14
-
opencascadeSupport ? false, opencascade,
14
14
+
opencascadeSupport ? false, opencascade-occt,
15
15
ffmpegSupport ? false, ffmpeg,
16
16
nvttSupport ? false, nvidia-texture-tools,
17
17
freetypeSupport ? true, freetype,
···
51
51
++ lib.optional gdalSupport gdal
52
52
++ lib.optional curlSupport curl
53
53
++ lib.optional colladaSupport collada-dom
54
54
-
++ lib.optional opencascadeSupport opencascade
54
54
+
++ lib.optional opencascadeSupport opencascade-occt
55
55
++ lib.optional ffmpegSupport ffmpeg
56
56
++ lib.optional nvttSupport nvidia-texture-tools
57
57
++ lib.optional freetypeSupport freetype
···
66
66
++ lib.optionals (!stdenv.isDarwin) [ ]
67
67
++ lib.optionals stdenv.isDarwin [ AGL Accelerate Carbon Cocoa Foundation ]
68
68
++ lib.optional (restSupport || colladaSupport) boost
69
69
-
;
69
69
+
;
70
70
+
71
71
+
patches = [
72
72
+
(fetchpatch {
73
73
+
name = "opencascade-api-patch";
74
74
+
url = "https://github.com/openscenegraph/OpenSceneGraph/commit/bc2daf9b3239c42d7e51ecd7947d31a92a7dc82b.patch";
75
75
+
hash = "sha256-VR8YKOV/YihB5eEGZOGaIfJNrig1EPS/PJmpKsK284c=";
76
76
+
})
77
77
+
];
70
78
71
79
cmakeFlags = lib.optional (!withApps) "-DBUILD_OSG_APPLICATIONS=OFF" ++ lib.optional withExamples "-DBUILD_OSG_EXAMPLES=ON";
72
80