aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/data/misc/combinatorial_designs/default.nix
blob: 5df7343f3be7ac3763e7a7872b56beac80406a62 (plain)
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
27
28
29
30
31
{ stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
  pname = "combinatorial_designs";
  version = "20140630";

  src = fetchurl {
    url = "mirror://sageupstream/combinatorial_designs/combinatorial_designs-${version}.tar.bz2";
    sha256 = "0bj8ngiq59hipa6izi6g5ph5akmy4cbk0vlsb0wa67f7grnnqj69";
  };

  installPhase = ''
    mkdir -p "$out/share/combinatorial_designs"
    mv * "$out/share/combinatorial_designs"
  '';

  meta = with stdenv.lib; {
    description = "Data for Combinatorial Designs";
    longDescription = ''
      Current content:

      - The table of MOLS (10 000 integers) from the Handbook of Combinatorial
        Designs, 2ed.
    '';
    license = licenses.publicDomain;
    platforms = platforms.all;
    maintainers = with maintainers; [ timokau ];
  };
}