Merge pull request #183106 from kyoDralliam/metacoq-1.0-8.16

Add the release 1.0 of metacoq for coq 8.16
This commit is contained in:
Théo Zimmermann 2022-09-14 18:32:15 +02:00 committed by GitHub
commit 5d1ddac949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,7 @@ let
# { case = "8.13"; out = "1.0-beta2-8.13"; }
{ case = "8.14"; out = "1.0-8.14"; }
{ case = "8.15"; out = "1.0-8.15"; }
{ case = "8.16"; out = "1.0-8.16"; }
] null;
release = {
"1.0-beta2-8.11".sha256 = "sha256-I9YNk5Di6Udvq5/xpLSNflfjRyRH8fMnRzbo3uhpXNs=";
@ -19,6 +20,7 @@ let
"1.0-beta2-8.13".sha256 = "sha256-IC56/lEDaAylUbMCfG/3cqOBZniEQk8jmI053DBO5l8=";
"1.0-8.14".sha256 = "sha256-iRnaNeHt22JqxMNxOGPPycrO9EoCVjusR2s0GfON1y0=";
"1.0-8.15".sha256 = "sha256-8RUC5dHNfLJtJh+IZG4nPTAVC8ZKVh2BHedkzjwLf/k=";
"1.0-8.16".sha256 = "sha256-7rkCAN4PNnMgsgUiiLe2TnAliknN75s2SfjzyKCib/o=";
};
releaseRev = v: "v${v}";
@ -37,7 +39,7 @@ let
echo "all:" > all/Makefile
echo "install:" >> all/Makefile
'' ;
derivation = mkCoqDerivation ({
derivation = (mkCoqDerivation ({
inherit version pname defaultVersion release releaseRev repo owner;
mlPlugin = true;
@ -72,7 +74,11 @@ let
maintainers = with maintainers; [ cohencyril ];
};
} // optionalAttrs (package != "single")
{ passthru = genAttrs packages metacoq_; });
{ passthru = genAttrs packages metacoq_; })
).overrideAttrs (o: {
propagatedBuildInputs = o.propagatedBuildInputs ++
optional (versionAtLeast o.version "1.0-8.16") coq.ocamlPackages.stdlib-shims;
});
in derivation;
in
metacoq_ (if single then "single" else "all")