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