depot/third_party/nixpkgs/pkgs/data/misc/pari-galdata/default.nix

27 lines
642 B
Nix
Raw Normal View History

{ stdenv
, fetchurl
}:
stdenv.mkDerivation {
version = "20080411";
pname = "pari-galdata";
src = fetchurl {
url = "http://pari.math.u-bordeaux.fr/pub/pari/packages/galdata.tgz";
sha256 = "1pch6bk76f1i6cwwgm7hhxi5h71m52lqayp4mnyj0jmjk406bhdp";
};
installPhase = ''
mkdir -p "$out/share/pari"
cp -R * "$out/share/pari/"
'';
meta = with stdenv.lib; {
description = "PARI database needed to compute Galois group in degrees 8 through 11";
homepage = "http://pari.math.u-bordeaux.fr/";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ timokau ];
};
}