2016-10-10 18:35:32 +00:00
|
|
|
{stdenv, fetchurl, gmp, mpir, cddlib}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "gfan";
|
2018-03-08 15:52:17 +00:00
|
|
|
version = "0.6.2";
|
2017-08-30 16:19:00 +00:00
|
|
|
|
2016-10-10 18:35:32 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://home.math.au.dk/jensen/software/gfan/gfan${version}.tar.gz";
|
2018-03-08 15:52:17 +00:00
|
|
|
sha256 = "02pihqb1lb76a0xbfwjzs1cd6ay3ldfxsm8dvsbl6qs3vkjxax56";
|
2016-10-10 18:35:32 +00:00
|
|
|
};
|
2017-08-30 16:19:00 +00:00
|
|
|
|
|
|
|
makeFlags = ''PREFIX=$(out) CC=cc CXX=c++ cddnoprefix=1'';
|
2016-10-10 18:35:32 +00:00
|
|
|
buildInputs = [gmp mpir cddlib];
|
2017-08-30 16:19:00 +00:00
|
|
|
|
2016-10-10 18:35:32 +00:00
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''A software package for computing Gröbner fans and tropical varieties'';
|
|
|
|
license = stdenv.lib.licenses.gpl2 ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://home.math.au.dk/jensen/software/gfan/gfan.html;
|
2016-10-10 18:35:32 +00:00
|
|
|
};
|
|
|
|
}
|