mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
32 lines
930 B
Nix
32 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 ];
|
|
};
|
|
}
|