1 { lib, stdenv, fetchurl, cln, pkg-config, readline, gmp, python3 }:
3 stdenv.mkDerivation rec {
8 url = "https://www.ginac.de/ginac-${version}.tar.bz2";
9 sha256 = "sha256-cf9PLYoA5vB86P7mm3bcweu7cnvmdgtYfB+7XM97Yeo=";
12 propagatedBuildInputs = [ cln ];
14 buildInputs = [ readline ]
15 ++ lib.optional stdenv.isDarwin gmp;
17 nativeBuildInputs = [ pkg-config python3 ];
25 configureFlags = [ "--disable-rpath" ];
28 description = "GiNaC is Not a CAS";
29 homepage = "https://www.ginac.de/";
30 maintainers = with maintainers; [ lovek323 ];
31 license = licenses.gpl2;
32 platforms = platforms.all;