nixpkgs/pkgs/data/misc/pari-seadata-small/default.nix

27 lines
632 B
Nix
Raw Normal View History

2018-04-24 16:12:50 +02:00
{ stdenv
, fetchurl
}:
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
2018-04-24 16:12:50 +02:00
version = "20090618";
pname = "pari-seadata-small";
2018-04-24 16:12:50 +02:00
src = fetchurl {
url = "http://pari.math.u-bordeaux.fr/pub/pari/packages/seadata-small.tgz";
sha256 = "13qafribxwkz8h3haa0cng7arz0kh7398br4y7vqs9ib8w9yjnxz";
};
installPhase = ''
mkdir -p "$out/share/pari"
cp -R * "$out/share/pari/"
'';
meta = with stdenv.lib; {
description = "PARI database needed by ellap for large primes";
homepage = "http://pari.math.u-bordeaux.fr/";
2018-04-24 16:12:50 +02:00
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ timokau ];
};
}