openvswitch: generalize builder
[NixPkgs.git] / pkgs / data / misc / combinatorial_designs / default.nix
blob5457b4e54d4bf443eb00dbdaf8ec31c3eebe9c4a
1 { lib, stdenv
2 , fetchurl
3 }:
5 stdenv.mkDerivation rec {
6   pname = "combinatorial_designs";
7   version = "20140630";
9   src = fetchurl {
10     url = "mirror://sageupstream/combinatorial_designs/combinatorial_designs-${version}.tar.bz2";
11     sha256 = "0bj8ngiq59hipa6izi6g5ph5akmy4cbk0vlsb0wa67f7grnnqj69";
12   };
14   installPhase = ''
15     mkdir -p "$out/share/combinatorial_designs"
16     mv * "$out/share/combinatorial_designs"
17   '';
19   meta = with lib; {
20     description = "Data for Combinatorial Designs";
21     longDescription = ''
22       Current content:
24       - The table of MOLS (10 000 integers) from the Handbook of Combinatorial
25         Designs, 2ed.
26     '';
27     license = licenses.publicDomain;
28     platforms = platforms.all;
29     maintainers = teams.sage.members;
30   };