2021-06-01 10:57:12 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, version ? null }:
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
(mkCoqDerivation {
|
2021-06-01 10:57:12 +00:00
|
|
|
pname = "zorns-lemma";
|
2023-10-09 19:29:22 +00:00
|
|
|
repo = "topology";
|
2021-06-01 10:57:12 +00:00
|
|
|
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
release."10.2.0".sha256 = "sha256-xLi3uRQBKL9KiLd4FBnbTPxh8TjdN8IEW/1D7n2B+xY=";
|
2021-08-23 08:02:39 +00:00
|
|
|
release."9.0.0".sha256 = "sha256:03lgy53xg9pmrdd3d8qb4087k5qjnk260655svp6d79x4p2lxr8c";
|
2021-06-01 10:57:12 +00:00
|
|
|
release."8.11.0".sha256 = "sha256-2Hf7YwRcFmP/DqwFtF1p78MCNV50qUWfMVQtZbwKd0k=";
|
|
|
|
release."8.10.0".sha256 = "sha256-qLPLK2ZLJQ4SmJX2ADqFiP4kgHuQFJTeNXkBbjiFS+4=";
|
|
|
|
release."8.9.0".sha256 = "sha256-lEh978cXehglFX9D92RVltEuvN8umfPo/hvmFZm2NGo=";
|
|
|
|
release."8.8.0".sha256 = "sha256-ikXGzABu8VW7O0xNtCNvIq29c+mlDUm4k/ygVcsgDOI=";
|
|
|
|
release."8.7.0".sha256 = "sha256-jozvkkKLFBllN6K4oeYD0lNG+MdnOuKrDUPDocHUG6c=";
|
|
|
|
release."8.6.0".sha256 = "sha256-jozvkkKLFBllN6K4oeYD0lNG+MdnOuKrDUPDocHUG6c=";
|
|
|
|
release."8.5.0".sha256 = "sha256-mH/v02ObMjbVPYx2H+Jhz+Xp0XRKN67iMAdA1VNFzso=";
|
|
|
|
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2024-01-02 11:29:13 +00:00
|
|
|
{ case = range "8.12" "8.19"; out = "10.2.0"; }
|
2023-01-11 07:51:40 +00:00
|
|
|
{ case = range "8.10" "8.16"; out = "9.0.0"; }
|
2021-06-01 10:57:12 +00:00
|
|
|
{ case = "8.9"; out = "8.9.0"; }
|
|
|
|
{ case = "8.8"; out = "8.8.0"; }
|
|
|
|
{ case = "8.7"; out = "8.7.0"; }
|
|
|
|
{ case = "8.6"; out = "8.6.0"; }
|
|
|
|
{ case = "8.5"; out = "8.5.0"; }
|
|
|
|
] null;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
useDuneifVersion = lib.versions.isGe "9.0";
|
2021-08-23 08:02:39 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2021-06-01 10:57:12 +00:00
|
|
|
description = "Development of basic set theory";
|
|
|
|
longDescription = ''
|
|
|
|
This Coq library develops some basic set theory. The main
|
|
|
|
purpose the author had in writing it was as support for the
|
|
|
|
Topology library.
|
|
|
|
'';
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
}).overrideAttrs({version, ...}: lib.optionalAttrs (lib.versions.isGe "9.0" version) { repo = "topology"; })
|