Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / coq-modules / odd-order / default.nix
blobb6770aa633defd0c05f464d41cf9c062e1ab9bef
1 { lib, mkCoqDerivation, mathcomp, version ? null }:
3 mkCoqDerivation {
4   pname = "odd-order";
5   owner = "math-comp";
7   release."1.14.0".sha256 = "0iln70npkvixqyz469l6nry545a15jlaix532i1l7pzfkqqn6v68";
8   release."1.13.0".sha256 = "sha256-EzNKR/JzM8T17sMhPhgZNs14e50X4dY3OwFi133IsT0=";
9   release."1.12.0".sha256 = "sha256-omsfdc294CxKAHNMMeqJCcVimvyRCHgxcQ4NJOWSfNM=";
10   releaseRev = v: "mathcomp-odd-order.${v}";
12   inherit version;
13   defaultVersion = with lib.versions; lib.switch mathcomp.character.version [
14     { case = (range "1.13.0" "1.15.0"); out = "1.14.0"; }
15     { case = (range "1.12.0" "1.14.0"); out = "1.13.0"; }
16     { case = (range "1.10.0" "1.12.0"); out = "1.12.0"; }
17   ] null;
19   propagatedBuildInputs = [
20     mathcomp.character
21     mathcomp.ssreflect
22     mathcomp.fingroup
23     mathcomp.algebra
24     mathcomp.solvable
25     mathcomp.field
26     mathcomp.all
27   ];
29   meta = with lib; {
30     description = "Formal proof of the Odd Order Theorem";
31     maintainers = with maintainers; [ siraben ];
32     license = licenses.cecill-b;
33     platforms = platforms.unix;
34   };