nixpkgs/pkgs/applications/science/math/pari/alpha.nix

32 lines
905 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gmp, readline, perl }:
stdenv.mkDerivation rec {
version = "2.8.0.alpha";
name = "pari-${version}";
src = fetchurl {
2016-10-27 11:17:16 +01:00
url = "http://pari.math.u-bordeaux.fr/pub/pari/testing/${name}.tar.gz";
sha256 = "1nrjybrqv55p669rmlkghb940hzf63vnpn34sbwhy9zlbw3hg305";
};
buildInputs = [gmp readline];
nativeBuildInputs = [perl];
configureScript = "./Configure";
configureFlags =
"--with-gmp=${gmp.dev} " +
"--with-readline=${readline.dev}";
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;
};
}