depot/third_party/nixpkgs/pkgs/data/misc/pari-seadata-small/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
632 B
Nix

{ stdenv
, fetchurl
}:
stdenv.mkDerivation {
version = "20090618";
pname = "pari-seadata-small";
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/";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ timokau ];
};
}