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
29
pkgs/development/libraries/vcg/default.nix
Normal file
29
pkgs/development/libraries/vcg/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, eigen }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vcg";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cnr-isti-vclab";
|
||||
repo = "vcglib";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jh8jc8rn7rci8qr3q03q574fk2hsc3rllysck41j8xkr3rmxz2f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ eigen ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
cp -r vcg wrap $out/include
|
||||
find $out -name \*.h -exec sed -i 's,<eigenlib/,<eigen3/,g' {} \;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://vcg.isti.cnr.it/vcglib/install.html";
|
||||
description = "C++ library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue