2017-07-13 19:34:45 +02:00
|
|
|
{ stdenv, fetchurl, cln, pkgconfig, readline, gmp, python }:
|
2012-06-09 15:09:41 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-08 17:40:52 +01:00
|
|
|
name = "ginac-1.7.4";
|
2012-06-09 15:09:41 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-09-08 01:59:45 +02:00
|
|
|
url = "${meta.homepage}/${name}.tar.bz2";
|
2018-03-08 17:40:52 +01:00
|
|
|
sha256 = "1vvqv73yk9klbq0mz239zzw77rlp72qcvzci4j1v6rafvji1616n";
|
2012-06-09 15:09:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
2017-07-13 19:34:45 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
|
|
|
|
|
|
|
preConfigure = "patchShebangs ginsh";
|
2012-06-09 15:09:41 +02:00
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [ "--disable-rpath" ];
|
2012-06-09 15:09:41 +02:00
|
|
|
|
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/;
|
2017-03-27 19:11:17 +02:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2013-09-08 01:59:45 +02:00
|
|
|
platforms = platforms.all;
|
2012-06-09 15:09:41 +02:00
|
|
|
};
|
|
|
|
}
|