diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gts')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gts/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gts/default.nix b/nixpkgs/pkgs/development/libraries/gts/default.nix new file mode 100644 index 000000000000..18640e923e8b --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/gts/default.nix @@ -0,0 +1,34 @@ +{ fetchurl, stdenv, pkgconfig, autoreconfHook, gettext, glib }: + + +stdenv.mkDerivation rec { + pname = "gts"; + version = "0.7.6"; + + outputs = [ "bin" "dev" "out" ]; + + src = fetchurl { + url = "mirror://sourceforge/gts/${pname}-${version}.tar.gz"; + sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705"; + }; + + nativeBuildInputs = [ pkgconfig autoreconfHook ]; + buildInputs = [ gettext ]; + propagatedBuildInputs = [ glib ]; + + 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; + }; +} |