mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
29 lines
807 B
Nix
29 lines
807 B
Nix
{ fetchurl, stdenv, glib, pkgconfig, gettext }:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gts-${version}";
|
|
version = "0.7.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gts/${name}.tar.gz";
|
|
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
|
};
|
|
|
|
buildInputs = [ glib pkgconfig ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") gettext;
|
|
|
|
meta = {
|
|
homepage = http://gts.sourceforge.net/;
|
|
license = "LGPLv2+";
|
|
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;
|
|
};
|
|
}
|