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 {
|
2013-12-20 15:52:17 +00:00
|
|
|
name = "pari-2.5.5";
|
2013-07-19 16:20:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pari.math.u-bordeaux.fr/pub/pari/unix/${name}.tar.gz";
|
2013-12-20 15:52:17 +00:00
|
|
|
sha256 = "058nw1fhggy7idii4f124ami521lv3izvngs9idfz964aks8cvvn";
|
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
|
|
|
|
|
|
|
meta = {
|
|
|
|
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/";
|
|
|
|
license = "GPLv2+";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ertes raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-12-05 19:11:21 +00:00
|
|
|
};
|
2013-07-19 16:20:37 +01:00
|
|
|
}
|