nixpkgs/pkgs/applications/science/math/gfan/default.nix

24 lines
743 B
Nix
Raw Normal View History

2016-10-10 20:35:32 +02:00
{stdenv, fetchurl, gmp, mpir, cddlib}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "gfan";
2017-08-30 18:19:00 +02:00
version = "0.6";
2016-10-10 20:35:32 +02:00
src = fetchurl {
url = "http://home.math.au.dk/jensen/software/gfan/gfan${version}.tar.gz";
2017-08-30 18:19:00 +02:00
sha256 = "02d6dvzfwy0lnidfgf98052jfqwy285nfm1h5nnx7jbgic1nnpgz";
2016-10-10 20:35:32 +02:00
};
2017-08-30 18:19:00 +02:00
makeFlags = ''PREFIX=$(out) CC=cc CXX=c++ cddnoprefix=1'';
2016-10-10 20:35:32 +02:00
buildInputs = [gmp mpir cddlib];
2017-08-30 18:19:00 +02:00
2016-10-10 20:35:32 +02: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;
homepage = http://home.math.au.dk/jensen/software/gfan/gfan.html;
2016-10-10 20:35:32 +02:00
};
}