nixpkgs-suyu/pkgs/applications/science/math/ginac/default.nix
2013-09-08 11:01:48 +02:00

25 lines
639 B
Nix

{ stdenv, fetchurl, cln, pkgconfig, readline, gmp }:
stdenv.mkDerivation rec {
name = "ginac-1.6.2";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.bz2";
sha256 = "1pivcqqaf142l6vrj2azq6dxrcyzhag4za2dwicb4gsb09ax4d0g";
};
propagatedBuildInputs = [ cln ];
buildInputs = [ readline ] ++ stdenv.lib.optional stdenv.isDarwin gmp;
nativeBuildInputs = [ pkgconfig ];
configureFlags = "--disable-rpath";
meta = with stdenv.lib; {
description = "GiNaC is Not a CAS";
homepage = http://www.ginac.de/;
maintainers = with maintainers; [ lovek323 urkud ];
platforms = platforms.all;
};
}