nixpkgs/pkgs/applications/science/math/pari/default.nix
Tobias Geerinckx-Rice 158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00

31 lines
852 B
Nix

{ stdenv, fetchurl, gmp, readline }:
stdenv.mkDerivation rec {
version = "2.7.3";
name = "pari-${version}";
src = fetchurl {
url = "http://pari.math.u-bordeaux.fr/pub/pari/unix/${name}.tar.gz";
sha256 = "02k54m7p47r54lgxqanxvf7pdrss17n8if1qwk5wx0j1px22j0rq";
};
buildInputs = [gmp readline];
configureScript = "./Configure";
configureFlags =
"--with-gmp=${gmp} " +
"--with-readline=${readline}";
meta = with stdenv.lib; {
description = "Computer algebra system for high-performance number theory computations";
homepage = "http://pari.math.u-bordeaux.fr/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ertes raskin ];
platforms = platforms.linux;
inherit version;
downloadPage = "http://pari.math.u-bordeaux.fr/download.html";
updateWalker = true;
};
}