2013-07-19 16:20:37 +01:00
|
|
|
{ stdenv, fetchurl, gmp, readline }:
|
2010-12-05 19:11:21 +00:00
|
|
|
|
2013-07-19 16:20:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-03-08 18:30:45 +00:00
|
|
|
version = "2.7.3";
|
2014-09-02 10:41:46 +01:00
|
|
|
name = "pari-${version}";
|
2013-07-19 16:20:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pari.math.u-bordeaux.fr/pub/pari/unix/${name}.tar.gz";
|
2015-03-08 18:30:45 +00:00
|
|
|
sha256 = "02k54m7p47r54lgxqanxvf7pdrss17n8if1qwk5wx0j1px22j0rq";
|
2010-12-05 19:11:21 +00:00
|
|
|
};
|
|
|
|
|
2013-07-19 16:20:37 +01:00
|
|
|
buildInputs = [gmp readline];
|
|
|
|
|
|
|
|
configureScript = "./Configure";
|
|
|
|
configureFlags =
|
|
|
|
"--with-gmp=${gmp} " +
|
|
|
|
"--with-readline=${readline}";
|
2010-12-05 19:11:21 +00:00
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-12-05 19:11:21 +00:00
|
|
|
description = "Computer algebra system for high-performance number theory computations";
|
2013-07-19 16:20:37 +01:00
|
|
|
homepage = "http://pari.math.u-bordeaux.fr/";
|
2015-05-28 18:20:29 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2015-05-27 20:56:04 +01:00
|
|
|
maintainers = with maintainers; [ ertes raskin ];
|
|
|
|
platforms = platforms.linux;
|
2014-09-02 10:41:46 +01:00
|
|
|
|
|
|
|
inherit version;
|
|
|
|
downloadPage = "http://pari.math.u-bordeaux.fr/download.html";
|
|
|
|
updateWalker = true;
|
2010-12-05 19:11:21 +00:00
|
|
|
};
|
2013-07-19 16:20:37 +01:00
|
|
|
}
|