ginac: fix build on darwin (close #944)
This commit is contained in:
parent
28bf9caca2
commit
f3802002c3
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user