summary refs log tree commit diff
path: root/pkgs/development/coq-modules/fourcolor/default.nix
blob: 4de6e2da8b511798af5061a81d01c911373ef85d (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
{ lib, mkCoqDerivation, coq, mathcomp, version ? null }:
with lib;

mkCoqDerivation {
  pname = "fourcolor";
  owner = "math-comp";

  release."1.2.3".rev    = "v1.2.3";
  release."1.2.3".sha256 = "sha256-gwKfUa74fIP7j+2eQgnLD7AswjCtOFGHGaIWb4qI0n4=";

  inherit version;
  defaultVersion = with versions; switch mathcomp.version [
    { case = pred.inter (isGe "1.11.0") (isLt "1.13"); out = "1.2.3"; }
  ] null;

  propagatedBuildInputs = [ mathcomp.algebra ];

  meta = {
    description = "Formal proof of the Four Color Theorem ";
    maintainers = with maintainers; [ siraben ];
    license = licenses.cecill-b;
    platforms = platforms.unix;
  };
}