ginac: fix build on darwin (close #944)

This commit is contained in:
Jason \"Don\" O'Conal 2013-09-08 09:59:45 +10:00 committed by Vladimír Čunát
parent 28bf9caca2
commit f3802002c3

View File

@ -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;
};
}