2016-10-12 16:48:47 +01:00
|
|
|
{ stdenv, fetchurl, gmp, readline, perl }:
|
2016-10-10 18:11:58 +01:00
|
|
|
|
|
|
|
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";
|
2016-10-10 18:11:58 +01:00
|
|
|
sha256 = "1nrjybrqv55p669rmlkghb940hzf63vnpn34sbwhy9zlbw3hg305";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [gmp readline];
|
2016-10-12 16:48:47 +01:00
|
|
|
nativeBuildInputs = [perl];
|
2016-10-10 18:11:58 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|