2013-09-08 00:59:45 +01:00
|
|
|
{ stdenv, fetchurl, cln, pkgconfig, readline, gmp }:
|
2012-06-09 14:09:41 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ginac-1.6.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-09-08 00:59:45 +01:00
|
|
|
url = "${meta.homepage}/${name}.tar.bz2";
|
2012-06-09 14:09:41 +01:00
|
|
|
sha256 = "1pivcqqaf142l6vrj2azq6dxrcyzhag4za2dwicb4gsb09ax4d0g";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cln ];
|
2013-09-08 00:59:45 +01:00
|
|
|
|
|
|
|
buildInputs = [ readline ] ++ stdenv.lib.optional stdenv.isDarwin gmp;
|
2012-06-09 14:09:41 +01:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-06-09 14:09:41 +01:00
|
|
|
|
|
|
|
configureFlags = "--disable-rpath";
|
|
|
|
|
2013-09-08 00:59:45 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-06-09 14:09:41 +01:00
|
|
|
description = "GiNaC is Not a CAS";
|
2013-09-08 00:59:45 +01:00
|
|
|
homepage = http://www.ginac.de/;
|
|
|
|
maintainers = with maintainers; [ lovek323 urkud ];
|
|
|
|
platforms = platforms.all;
|
2012-06-09 14:09:41 +01:00
|
|
|
};
|
|
|
|
}
|