rocq-core_9_1: init at 9.1+rc1

This commit is contained in:
Pierre Roux
2025-07-08 09:57:23 +02:00
committed by Vincent Laporte
parent 431f160d39
commit 2fcfe280b5
9 changed files with 20 additions and 8 deletions

View File

@@ -77,6 +77,7 @@ let
"8.20.0".sha256 = "sha256-WFpZlA6CzFVAruPhWcHQI7VOBVhrGLdFzWrHW0DTSl0=";
"8.20.1".sha256 = "sha256-nRaLODPG4E3gUDzGrCK40vhl4+VhPyd+/fXFK/HC3Ig=";
"9.0.0".sha256 = "sha256-GRwYSvrJGiPD+I82gLOgotb+8Ra5xHZUJGcNwxWqZkU=";
"9.1+rc1".sha256 = "sha256-GShKHQ9EdvyNe9WlkzF6KLYybc5dPeVrh4bpkVy6pY4=";
};
releaseRev = v: "V${v}";
fetched =

View File

@@ -23,6 +23,7 @@ let
release = {
"9.0.0".sha256 = "sha256-GRwYSvrJGiPD+I82gLOgotb+8Ra5xHZUJGcNwxWqZkU=";
"9.1+rc1".sha256 = "sha256-GShKHQ9EdvyNe9WlkzF6KLYybc5dPeVrh4bpkVy6pY4=";
};
releaseRev = v: "V${v}";
fetched =

View File

@@ -9,7 +9,7 @@
(mkCoqDerivation {
pname = "bignums";
owner = "coq";
owner = "rocq-community";
inherit version;
defaultVersion =
let
@@ -17,11 +17,12 @@
in
with lib.versions;
lib.switch coq.coq-version [
(case (range "9.0" "9.0") "9.0.0+rocq${coq.coq-version}")
(case (range "9.0" "9.1") "9.0.0+rocq${coq.coq-version}")
(case (range "8.13" "8.20") "9.0.0+coq${coq.coq-version}")
(case (range "8.6" "8.17") "${coq.coq-version}.0")
] null;
release."9.0.0+rocq9.1".sha256 = "sha256-MSjlfJs3JOakuShOj+isNlus0bKlZ+rkvzRoKZQK5RQ=";
release."9.0.0+rocq9.0".sha256 = "sha256-ctnwpyNVhryEUA5YEsAImrcJsNMhtBgDSOz+z5Z4R78=";
release."9.0.0+coq8.20".sha256 = "sha256-pkvyDaMXRalc6Uu1eBTuiqTpRauRrzu946c6TavyTKY=";
release."9.0.0+coq8.19".sha256 = "sha256-02uL+qWbUveHe67zKfc8w3U0iN3X2DKBsvP3pKpW8KQ=";

View File

@@ -19,7 +19,7 @@
in
with lib.versions;
lib.switch coq.coq-version [
(case (isLe "9.0") "9.0.0")
(case (isLe "9.1") "9.0.0")
# the < 9.0 above is artificial as stdlib was included in Coq before
] null;
releaseRev = v: "V${v}";

View File

@@ -8,7 +8,7 @@
mkRocqDerivation {
pname = "bignums";
owner = "coq";
owner = "rocq-community";
inherit version;
defaultVersion =
let
@@ -16,11 +16,12 @@ mkRocqDerivation {
in
with lib.versions;
lib.switch rocq-core.rocq-version [
(case (range "9.0" "9.0") "9.0.0+rocq${rocq-core.rocq-version}")
(case (range "9.0" "9.1") "9.0.0+rocq${rocq-core.rocq-version}")
] null;
release."9.0.0+rocq9.0".sha256 = "sha256-ctnwpyNVhryEUA5YEsAImrcJsNMhtBgDSOz+z5Z4R78=";
releaseRev = v: "${if lib.versions.isGe "9.0" v then "v" else "V"}${v}";
release."9.0.0+rocq9.1".sha256 = "sha256-MSjlfJs3JOakuShOj+isNlus0bKlZ+rkvzRoKZQK5RQ=";
releaseRev = v: "v${v}";
mlPlugin = true;

View File

@@ -8,7 +8,7 @@ mkRocqDerivation {
pname = "stdlib";
repo = "stdlib";
owner = "coq";
owner = "rocq-prover";
opam-name = "rocq-stdlib";
inherit version;
@@ -18,7 +18,7 @@ mkRocqDerivation {
in
with lib.versions;
lib.switch rocq-core.version [
(case (isEq "9.0") "9.0.0")
(case (range "9.0" "9.1") "9.0.0")
] null;
releaseRev = v: "V${v}";

View File

@@ -15543,6 +15543,8 @@ with pkgs;
coq_8_20
coqPackages_9_0
coq_9_0
coqPackages_9_1
coq_9_1
coqPackages
coq
;
@@ -15556,6 +15558,8 @@ with pkgs;
mkRocqPackages
rocqPackages_9_0
rocq-core_9_0
rocqPackages_9_1
rocq-core_9_1
rocqPackages
rocq-core
;

View File

@@ -312,6 +312,7 @@ rec {
coq_8_19 = mkCoq "8.19";
coq_8_20 = mkCoq "8.20";
coq_9_0 = mkCoq "9.0";
coq_9_1 = mkCoq "9.1";
coqPackages_8_5 = mkCoqPackages coq_8_5;
coqPackages_8_6 = mkCoqPackages coq_8_6;
@@ -330,6 +331,7 @@ rec {
coqPackages_8_19 = mkCoqPackages coq_8_19;
coqPackages_8_20 = mkCoqPackages coq_8_20;
coqPackages_9_0 = mkCoqPackages coq_9_0;
coqPackages_9_1 = mkCoqPackages coq_9_1;
coqPackages = recurseIntoAttrs coqPackages_9_0;
coq = coqPackages.coq;

View File

@@ -88,8 +88,10 @@ rec {
self.filterPackages (!rocq-core.dontFilter or false);
rocq-core_9_0 = mkRocq "9.0";
rocq-core_9_1 = mkRocq "9.1";
rocqPackages_9_0 = mkRocqPackages rocq-core_9_0;
rocqPackages_9_1 = mkRocqPackages rocq-core_9_1;
rocqPackages = recurseIntoAttrs rocqPackages_9_0;
rocq-core = rocqPackages.rocq-core;