mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
30 lines
812 B
Nix
30 lines
812 B
Nix
{ stdenv, fetchFromGitHub, eigen }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vcg-${version}";
|
|
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 stdenv.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.linux;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|