2019-04-05 21:14:33 -07:00
|
|
|
{ fetchurl, stdenv, pkgconfig, autoreconfHook, gettext, glib }:
|
2011-03-02 09:18:15 -08:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gts";
|
2011-03-02 09:18:15 -08:00
|
|
|
version = "0.7.6";
|
|
|
|
|
2019-04-05 21:14:33 -07:00
|
|
|
outputs = [ "bin" "dev" "out" ];
|
|
|
|
|
2011-03-02 09:18:15 -08:00
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://sourceforge/gts/${pname}-${version}.tar.gz";
|
2011-03-02 09:18:15 -08:00
|
|
|
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
|
|
|
};
|
|
|
|
|
2019-04-05 21:14:33 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
buildInputs = [ gettext ];
|
|
|
|
propagatedBuildInputs = [ glib ];
|
2011-03-02 09:18:15 -08:00
|
|
|
|
2018-04-24 20:20:18 -07:00
|
|
|
doCheck = false; # fails with "permission denied"
|
|
|
|
|
2011-03-02 09:18:15 -08:00
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://gts.sourceforge.net/";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2011-03-02 09:18:15 -08: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 01:46:59 -08:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2011-03-02 09:18:15 -08:00
|
|
|
};
|
|
|
|
}
|