about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/coq-modules/odd-order/default.nix
blob: adc4e3a59477b1381d663e569903357e9dabe1ef (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, mathcomp, version ? null }:
with lib;

mkCoqDerivation {
  pname = "odd-order";
  owner = "math-comp";

  release."1.12.0".rev    = "mathcomp-odd-order.1.12.0";
  release."1.12.0".sha256 = "sha256-omsfdc294CxKAHNMMeqJCcVimvyRCHgxcQ4NJOWSfNM=";

  inherit version;
  defaultVersion = with versions; switch mathcomp.character.version [
    { case = pred.union (isGe "1.10.0") (isEq "dev"); out = "1.12.0"; }
  ] null;

  propagatedBuildInputs = [ mathcomp.character ];

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