coqPackages.coinduction: init at 1.9

This commit is contained in:
Pierre Roux 2024-08-01 16:12:04 +02:00 committed by Vincent Laporte
parent 32b85e3534
commit 9134617536
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ lib, mkCoqDerivation, coq, version ? null }:
mkCoqDerivation {
pname = "coinduction";
owner = "damien-pous";
inherit version;
defaultVersion = let inherit (lib.versions) range; in
lib.switch coq.coq-version [
{ case = range "8.19" "8.19"; out = "1.9"; }
] null;
release = {
"1.9".sha256 = "sha256-bBU+xDklnzJBeN41GarW5KXzD8eKsOYtb//ULYumwWE=";
};
releaseRev = v: "v${v}";
mlPlugin = true;
meta = {
description = "A library for doing proofs by (enhanced) coinduction";
license = lib.licenses.lgpl3Plus;
};
}

View File

@ -26,6 +26,7 @@ let
category-theory = callPackage ../development/coq-modules/category-theory { }; category-theory = callPackage ../development/coq-modules/category-theory { };
ceres = callPackage ../development/coq-modules/ceres {}; ceres = callPackage ../development/coq-modules/ceres {};
Cheerios = callPackage ../development/coq-modules/Cheerios {}; Cheerios = callPackage ../development/coq-modules/Cheerios {};
coinduction = callPackage ../development/coq-modules/coinduction {};
CoLoR = callPackage ../development/coq-modules/CoLoR ( CoLoR = callPackage ../development/coq-modules/CoLoR (
(lib.optionalAttrs (lib.versions.isEq self.coq.coq-version "8.13") { (lib.optionalAttrs (lib.versions.isEq self.coq.coq-version "8.13") {
bignums = self.bignums.override { version = "8.13.0"; }; bignums = self.bignums.override { version = "8.13.0"; };