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