depot/third_party/nixpkgs/pkgs/development/libraries/partio/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

31 lines
930 B
Nix

{ lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg, python3 }:
stdenv.mkDerivation rec {
pname = "partio";
version = "1.14.6";
src = fetchFromGitHub {
owner = "wdas";
repo = "partio";
rev = "refs/tags/v${version}";
hash = "sha256-S8U5I3dllFzDSocU1mJ8FYCCmBpsOR4n174oiX5hvAM=";
};
outputs = [ "dev" "out" "lib" ];
nativeBuildInputs = [ unzip cmake doxygen ];
buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu python3 ];
# TODO:
# Sexpr support
strictDeps = true;
meta = with lib; {
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;
maintainers = [ maintainers.guibou ];
};
}