nixpkgs/pkgs/development/coq-modules/mathcomp-algebra-tactics/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1.2 KiB
Nix
Raw Permalink Normal View History

{ lib, mkCoqDerivation, coq, mathcomp-algebra,
coq-elpi, mathcomp-zify, version ? null }:
mkCoqDerivation {
namePrefix = [ "coq" "mathcomp" ];
pname = "algebra-tactics";
owner = "math-comp";
inherit version;
defaultVersion = with lib.versions;
lib.switch [ coq.coq-version mathcomp-algebra.version ] [
{ cases = [ (range "8.16" "8.20") (isGe "2.0") ]; out = "1.2.3"; }
2023-10-26 06:13:46 -04:00
{ cases = [ (range "8.16" "8.18") (isGe "2.0") ]; out = "1.2.2"; }
{ cases = [ (range "8.16" "8.19") (isGe "1.15") ]; out = "1.1.1"; }
{ cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.0.0"; }
] null;
release."1.0.0".sha256 = "sha256-kszARPBizWbxSQ/Iqpf2vLbxYc6AjpUCLnSNlPcNfls=";
release."1.1.1".sha256 = "sha256-5wItMeeTRoJlRBH3zBNc2VUZn6pkDde60YAvXTx+J3U=";
2023-10-26 06:13:46 -04:00
release."1.2.2".sha256 = "sha256-EU9RJGV3BvnmsX+mGH+6+MDXiGHgDI7aP5sIYiMUXTs=";
release."1.2.3".sha256 = "sha256-6uc1VEfDv+fExEfBR2c0/Q/KjrkX0TbEMCLgeYcpkls=";
propagatedBuildInputs = [ mathcomp-algebra coq-elpi mathcomp-zify ];
meta = {
description = "Ring and field tactics for Mathematical Components";
maintainers = with lib.maintainers; [ cohencyril ];
};
}