nixpkgs/pkgs/development/libraries/partio/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
930 B
Nix
Raw Normal View History

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 {
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" ];
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
strictDeps = true;
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;
platforms = platforms.linux;
2017-09-17 20:16:04 +00:00
maintainers = [ maintainers.guibou ];
};
}