about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/coq-modules/hydra-battles/default.nix
blob: a74eec4b64fcf8ef2df53aaaff45dd0dbef2d8ff (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
27
28
29
{ lib, mkCoqDerivation, coq, mathcomp, equations, paramcoq, version ? null }:
with lib;

mkCoqDerivation {
  pname = "hydra-battles";
  owner = "coq-community";

  release."0.3".rev    = "v0.3";
  release."0.3".sha256 = "sha256-rXP/vJqVEg2tN/I9LWV13YQ1+C7M6lzGu3oI+7pSZzg=";

  inherit version;
  defaultVersion = with versions; switch coq.coq-version [
    { case = isGe "8.11"; out = "0.3"; }
  ] null;

  propagatedBuildInputs = [ mathcomp equations paramcoq ];

  meta = {
    description = "Variations on Kirby & Paris' hydra battles and other entertaining math in Coq";
    longDescription = ''
       Variations on Kirby & Paris' hydra battles and other
       entertaining math in Coq (collaborative, documented, includes
       exercises)
    '';
    maintainers = with maintainers; [ siraben ];
    license = licenses.mit;
    platforms = platforms.unix;
  };
}