1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 12:59:25 +00:00
nixpkgs/pkgs/applications/science/math/pari/unstable.nix

32 lines
917 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gmp, readline, perl }:
stdenv.mkDerivation rec {
2017-11-11 12:47:59 +00:00
version = "2.9.3";
name = "pari-unstable-${version}";
src = fetchurl {
url = "http://pari.math.u-bordeaux.fr/pub/pari/unstable/pari-${version}.tar.gz";
2017-11-11 12:47:59 +00:00
sha256 = "0qqal1lpggd6dvs19svnz0dil86xk0xkcj5s3b7104ibkmvjfsp7";
};
buildInputs = [gmp readline];
nativeBuildInputs = [perl];
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;
};
}