mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
32 lines
851 B
Nix
32 lines
851 B
Nix
{ fetchurl, stdenv, glib, pkgconfig, gettext }:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gts";
|
|
version = "0.7.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gts/${pname}-${version}.tar.gz";
|
|
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ glib gettext ];
|
|
|
|
doCheck = false; # fails with "permission denied"
|
|
|
|
meta = {
|
|
homepage = http://gts.sourceforge.net/;
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
description = "GNU Triangulated Surface Library";
|
|
|
|
longDescription = ''
|
|
Library intended to provide a set of useful functions to deal with
|
|
3D surfaces meshed with interconnected triangles.
|
|
'';
|
|
|
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
|
};
|
|
}
|