diff options
Diffstat (limited to 'pkgs/applications/science/math/ginac/default.nix')
-rw-r--r-- | pkgs/applications/science/math/ginac/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/applications/science/math/ginac/default.nix b/pkgs/applications/science/math/ginac/default.nix index 9bffc5548dd0f..9ea43023d57c0 100644 --- a/pkgs/applications/science/math/ginac/default.nix +++ b/pkgs/applications/science/math/ginac/default.nix @@ -1,24 +1,25 @@ -{ stdenv, fetchurl, cln, pkgconfig, readline }: +{ stdenv, fetchurl, cln, pkgconfig, readline, gmp }: stdenv.mkDerivation rec { name = "ginac-1.6.2"; src = fetchurl { - url = "${meta.homepage}/${name}.tar.bz2"; + url = "${meta.homepage}/${name}.tar.bz2"; sha256 = "1pivcqqaf142l6vrj2azq6dxrcyzhag4za2dwicb4gsb09ax4d0g"; }; propagatedBuildInputs = [ cln ]; - buildInputs = [ readline ]; + + buildInputs = [ readline ] ++ stdenv.lib.optional stdenv.isDarwin gmp; nativeBuildInputs = [ pkgconfig ]; configureFlags = "--disable-rpath"; - meta = { + meta = with stdenv.lib; { description = "GiNaC is Not a CAS"; - homepage = http://www.ginac.de/; - platforms = stdenv.lib.platforms.all; - maintainers = [ stdenv.lib.maintainers.urkud ]; + homepage = http://www.ginac.de/; + maintainers = with maintainers; [ lovek323 urkud ]; + platforms = platforms.all; }; } |