1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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 { };
ceres = callPackage ../development/coq-modules/ceres {};
Cheerios = callPackage ../development/coq-modules/Cheerios {};
coinduction = callPackage ../development/coq-modules/coinduction {};
CoLoR = callPackage ../development/coq-modules/CoLoR (
(lib.optionalAttrs (lib.versions.isEq self.coq.coq-version "8.13") {
bignums = self.bignums.override { version = "8.13.0"; };