2013-01-11 17:02:36 +00:00
|
|
|
{ fetchurl, stdenv, glib, pkgconfig, gettext }:
|
2011-03-02 17:18:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gts-${version}";
|
|
|
|
version = "0.7.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/gts/${name}.tar.gz";
|
|
|
|
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
|
|
|
};
|
|
|
|
|
2013-01-11 17:02:36 +00:00
|
|
|
buildInputs = [ glib pkgconfig ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") gettext;
|
2011-03-02 17:18:15 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://gts.sourceforge.net/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2011-03-02 17:18:15 +00:00
|
|
|
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 ];
|
2013-11-05 09:46:59 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2011-03-02 17:18:15 +00:00
|
|
|
};
|
|
|
|
}
|