2021-01-18 22:50:56 -08:00
|
|
|
{ lib, stdenv, fetchurl, cln, pkg-config, readline, gmp, python }:
|
2012-06-09 06:09:41 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-31 13:07:21 -07:00
|
|
|
name = "ginac-1.8.0";
|
2012-06-09 06:09:41 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-09-07 16:59:45 -07:00
|
|
|
url = "${meta.homepage}/${name}.tar.bz2";
|
2020-10-31 13:07:21 -07:00
|
|
|
sha256 = "0l9byzfxq3f9az5pcdldnl95ws8mpirkqky46f973mvxi5541d24";
|
2012-06-09 06:09:41 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cln ];
|
2013-09-07 16:59:45 -07:00
|
|
|
|
2021-01-15 05:21:58 -08:00
|
|
|
buildInputs = [ readline ] ++ lib.optional stdenv.isDarwin gmp;
|
2012-06-09 06:09:41 -07:00
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config python ];
|
2017-07-13 10:34:45 -07:00
|
|
|
|
|
|
|
preConfigure = "patchShebangs ginsh";
|
2012-06-09 06:09:41 -07:00
|
|
|
|
2018-07-25 14:44:21 -07:00
|
|
|
configureFlags = [ "--disable-rpath" ];
|
2012-06-09 06:09:41 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2012-06-09 06:09:41 -07:00
|
|
|
description = "GiNaC is Not a CAS";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.ginac.de/";
|
2017-03-27 10:11:17 -07:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2018-08-20 11:02:23 -07:00
|
|
|
license = licenses.gpl2;
|
2013-09-07 16:59:45 -07:00
|
|
|
platforms = platforms.all;
|
2012-06-09 06:09:41 -07:00
|
|
|
};
|
|
|
|
}
|