tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
partio: 1.17.0 -> 1.17.1
Weijia Wang
2 years ago
687cef3a
dce75a6b
+39
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
partio
default.nix
+39
-7
pkgs/development/libraries/partio/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg, python3 }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, unzip
5
5
+
, cmake
6
6
+
, freeglut
7
7
+
, libGLU
8
8
+
, libGL
9
9
+
, zlib
10
10
+
, swig
11
11
+
, doxygen
12
12
+
, xorg
13
13
+
, python3
14
14
+
, darwin
15
15
+
}:
2
16
3
17
stdenv.mkDerivation rec {
4
18
pname = "partio";
5
5
-
version = "1.17.0";
19
19
+
version = "1.17.1";
6
20
7
21
src = fetchFromGitHub {
8
22
owner = "wdas";
9
23
repo = "partio";
10
24
rev = "refs/tags/v${version}";
11
11
-
hash = "sha256-QKGZ9oR5M39LS7insiRfXtp/+kQtFL+zM2X73JCX5Ms=";
25
25
+
hash = "sha256-3t3y3r4R/ePw2QE747rqumbrYRm1wNkSKN3n8MPPIVg=";
12
26
};
13
27
14
28
outputs = [ "dev" "out" "lib" ];
15
29
16
16
-
nativeBuildInputs = [ unzip cmake doxygen ];
17
17
-
buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu python3 ];
30
30
+
nativeBuildInputs = [
31
31
+
unzip
32
32
+
cmake
33
33
+
doxygen
34
34
+
];
35
35
+
36
36
+
buildInputs = [
37
37
+
zlib
38
38
+
swig
39
39
+
xorg.libXi
40
40
+
xorg.libXmu
41
41
+
python3
42
42
+
] ++ lib.optionals stdenv.isDarwin [
43
43
+
darwin.apple_sdk.frameworks.Cocoa
44
44
+
darwin.apple_sdk.frameworks.GLUT
45
45
+
] ++ lib.optionals (!stdenv.isDarwin) [
46
46
+
freeglut
47
47
+
libGLU
48
48
+
libGL
49
49
+
];
18
50
19
51
# TODO:
20
52
# Sexpr support
···
23
55
24
56
meta = with lib; {
25
57
description = "C++ (with python bindings) library for easily reading/writing/manipulating common animation particle formats such as PDB, BGEO, PTC";
26
26
-
homepage = "https://www.disneyanimation.com/technology/partio.html";
58
58
+
homepage = "https://github.com/wdas/partio";
27
59
license = licenses.bsd3;
28
28
-
platforms = platforms.linux;
60
60
+
platforms = platforms.unix;
29
61
maintainers = [ maintainers.guibou ];
30
62
};
31
63
}