summary refs log tree commit diff
path: root/pkgs/data/misc/pari-galdata/default.nix
blob: 222fd2f887070bb846c3868c816634cb724ba2fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
  version = "20080411";
  name = "pari-galdata-${version}";

  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 ];
  };
}