2022-06-13 11:51:15 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg, python3 }:
|
2017-09-17 20:16:04 +00:00
|
|
|
|
2022-06-13 11:51:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "partio";
|
2022-06-13 11:51:15 +00:00
|
|
|
version = "1.14.6";
|
2017-09-17 20:16:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wdas";
|
|
|
|
repo = "partio";
|
2022-06-13 11:51:15 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-S8U5I3dllFzDSocU1mJ8FYCCmBpsOR4n174oiX5hvAM=";
|
2017-09-17 20:16:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "dev" "out" "lib" ];
|
|
|
|
|
2018-03-01 09:45:12 +00:00
|
|
|
nativeBuildInputs = [ unzip cmake doxygen ];
|
2022-06-13 11:51:15 +00:00
|
|
|
buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu python3 ];
|
2017-09-17 20:16:04 +00:00
|
|
|
|
|
|
|
# TODO:
|
|
|
|
# Sexpr support
|
|
|
|
|
2021-03-25 09:12:51 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-09-17 20:16:04 +00:00
|
|
|
description = "C++ (with python bindings) library for easily reading/writing/manipulating common animation particle formats such as PDB, BGEO, PTC";
|
|
|
|
homepage = "https://www.disneyanimation.com/technology/partio.html";
|
|
|
|
license = licenses.bsd3;
|
2018-03-01 09:45:12 +00:00
|
|
|
platforms = platforms.linux;
|
2017-09-17 20:16:04 +00:00
|
|
|
maintainers = [ maintainers.guibou ];
|
|
|
|
};
|
|
|
|
}
|