mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
coqPackages.coinduction: init at 1.9
This commit is contained in:
parent
32b85e3534
commit
9134617536
22
pkgs/development/coq-modules/coinduction/default.nix
Normal file
22
pkgs/development/coq-modules/coinduction/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -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"; };
|
||||||
|
Loading…
Reference in New Issue
Block a user