1 { lib, mkCoqDerivation, coq, mathcomp-algebra,
2 coq-elpi, mathcomp-zify, version ? null }:
5 namePrefix = [ "coq" "mathcomp" ];
6 pname = "algebra-tactics";
10 defaultVersion = with lib.versions;
11 lib.switch [ coq.coq-version mathcomp-algebra.version ] [
12 { cases = [ (range "8.16" "8.19") (isGe "2.0") ]; out = "1.2.3"; }
13 { cases = [ (range "8.16" "8.18") (isGe "2.0") ]; out = "1.2.2"; }
14 { cases = [ (range "8.16" "8.19") (isGe "1.15") ]; out = "1.1.1"; }
15 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.0.0"; }
18 release."1.0.0".sha256 = "sha256-kszARPBizWbxSQ/Iqpf2vLbxYc6AjpUCLnSNlPcNfls=";
19 release."1.1.1".sha256 = "sha256-5wItMeeTRoJlRBH3zBNc2VUZn6pkDde60YAvXTx+J3U=";
20 release."1.2.2".sha256 = "sha256-EU9RJGV3BvnmsX+mGH+6+MDXiGHgDI7aP5sIYiMUXTs=";
21 release."1.2.3".sha256 = "sha256-6uc1VEfDv+fExEfBR2c0/Q/KjrkX0TbEMCLgeYcpkls=";
23 propagatedBuildInputs = [ mathcomp-algebra coq-elpi mathcomp-zify ];
26 description = "Ring and field tactics for Mathematical Components";
27 maintainers = with lib.maintainers; [ cohencyril ];