biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / science / math / ginac / default.nix
blobd9d12cbf388dee44d129da7705b6cb5ab99cc256
1 { lib, stdenv, fetchurl, cln, pkg-config, readline, gmp, python3 }:
3 stdenv.mkDerivation rec {
4   pname = "ginac";
5   version = "1.8.7";
7   src = fetchurl {
8     url = "https://www.ginac.de/ginac-${version}.tar.bz2";
9     sha256 = "sha256-cf9PLYoA5vB86P7mm3bcweu7cnvmdgtYfB+7XM97Yeo=";
10   };
12   propagatedBuildInputs = [ cln ];
14   buildInputs = [ readline ]
15     ++ lib.optional stdenv.isDarwin gmp;
17   nativeBuildInputs = [ pkg-config python3 ];
19   strictDeps = true;
21   preConfigure = ''
22     patchShebangs ginsh
23   '';
25   configureFlags = [ "--disable-rpath" ];
27   meta = with lib; {
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;
33   };