2022-03-05 16:20:37 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-ssreflect, mathcomp-fingroup, version ? null }:
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
namePrefix = [ "coq" "mathcomp" ];
|
|
|
|
pname = "zify";
|
2021-05-20 23:08:51 +00:00
|
|
|
repo = "mczify";
|
|
|
|
owner = "math-comp";
|
|
|
|
inherit version;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions;
|
|
|
|
lib.switch [ coq.coq-version mathcomp-algebra.version ] [
|
2024-01-25 14:12:00 +00:00
|
|
|
{ cases = [ (range "8.16" "8.19") (isGe "2.0.0") ]; out = "1.5.0+2.0+8.16"; }
|
|
|
|
{ cases = [ (range "8.13" "8.19") (range "1.12" "1.19.0") ]; out = "1.3.0+1.12+8.13"; }
|
2023-10-09 19:29:22 +00:00
|
|
|
{ cases = [ (range "8.13" "8.16") (range "1.12" "1.17.0") ]; out = "1.1.0+1.12+8.13"; }
|
2021-05-20 23:08:51 +00:00
|
|
|
] null;
|
|
|
|
|
|
|
|
release."1.0.0+1.12+8.13".sha256 = "1j533vx6lacr89bj1bf15l1a0s7rvrx4l00wyjv99aczkfbz6h6k";
|
2021-10-17 02:12:59 +00:00
|
|
|
release."1.1.0+1.12+8.13".sha256 = "1plf4v6q5j7wvmd5gsqlpiy0vwlw6hy5daq2x42gqny23w9mi2pr";
|
2023-03-15 16:39:30 +00:00
|
|
|
release."1.3.0+1.12+8.13".sha256 = "sha256-ebfY8HatP4te44M6o84DSLpDCkMu4IroPCy+HqzOnTE=";
|
2023-10-09 19:29:22 +00:00
|
|
|
release."1.5.0+2.0+8.16".sha256 = "sha256-boBYGvXdGFc6aPnjgSZYSoW4kmN5khtNrSV3DUv9DqM=";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
propagatedBuildInputs = [ mathcomp-algebra mathcomp-ssreflect mathcomp-fingroup ];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Micromega tactics for Mathematical Components";
|
2023-02-02 18:25:31 +00:00
|
|
|
maintainers = with lib.maintainers; [ cohencyril ];
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
}
|