partio: 2018-03-01 -> 1.14.6
This commit is contained in:
parent
de00076fa3
commit
bcc1b27645
|
@ -1,37 +1,24 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg }:
|
{ lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "partio";
|
pname = "partio";
|
||||||
version = "2018-03-01";
|
version = "1.14.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wdas";
|
owner = "wdas";
|
||||||
repo = "partio";
|
repo = "partio";
|
||||||
rev = "8b6ea0d20f1ab77cd7f18390999251e60932de4a";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "16sdj103v02l2dgq9y9cna9jakafabz9jxzdxsd737ir6wn10ksb";
|
hash = "sha256-S8U5I3dllFzDSocU1mJ8FYCCmBpsOR4n174oiX5hvAM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "dev" "out" "lib" ];
|
outputs = [ "dev" "out" "lib" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip cmake doxygen ];
|
nativeBuildInputs = [ unzip cmake doxygen ];
|
||||||
buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu ];
|
buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu python3 ];
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
make partio
|
|
||||||
|
|
||||||
mkdir $dev
|
|
||||||
mkdir $out
|
|
||||||
'';
|
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
# Sexpr support
|
# Sexpr support
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
make install prefix=$out
|
|
||||||
mkdir $dev/include/partio
|
|
||||||
mv $dev/include/*.h $dev/include/partio
|
|
||||||
'';
|
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue