uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
44
pkgs/development/libraries/partio/default.nix
Normal file
44
pkgs/development/libraries/partio/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "partio";
|
||||
version = "2018-03-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wdas";
|
||||
repo = "partio";
|
||||
rev = "8b6ea0d20f1ab77cd7f18390999251e60932de4a";
|
||||
sha256 = "16sdj103v02l2dgq9y9cna9jakafabz9jxzdxsd737ir6wn10ksb";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" "lib" ];
|
||||
|
||||
nativeBuildInputs = [ unzip cmake doxygen ];
|
||||
buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu ];
|
||||
|
||||
buildPhase = ''
|
||||
make partio
|
||||
|
||||
mkdir $dev
|
||||
mkdir $out
|
||||
'';
|
||||
|
||||
# TODO:
|
||||
# Sexpr support
|
||||
|
||||
installPhase = ''
|
||||
make install prefix=$out
|
||||
mkdir $dev/include/partio
|
||||
mv $dev/include/*.h $dev/include/partio
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue