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