2016-10-12 16:48:47 +01:00
|
|
|
{ stdenv, fetchurl, gmp, readline, perl }:
|
2016-10-10 18:11:58 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-27 12:41:24 +01:00
|
|
|
version = "2.8.1.beta";
|
|
|
|
name = "pari-unstable-${version}";
|
2016-10-10 18:11:58 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-10-27 12:41:24 +01:00
|
|
|
url = "http://pari.math.u-bordeaux.fr/pub/pari/unstable/pari-${version}.tar.gz";
|
|
|
|
sha256 = "167dcqrqsblqrd7z5pb8jrs9xqm8138mik0s4ihlqcq6c3wndhv1";
|
2016-10-10 18:11:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|