nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 71 lines 2.0 kB view raw
1{ 2 lib, 3 mkCoqDerivation, 4 coq, 5 version ? null, 6}: 7 8(mkCoqDerivation { 9 pname = "zorns-lemma"; 10 repo = "topology"; 11 12 releaseRev = v: "v${v}"; 13 14 release."10.2.0".sha256 = "sha256-xLi3uRQBKL9KiLd4FBnbTPxh8TjdN8IEW/1D7n2B+xY="; 15 release."9.0.0".sha256 = "sha256:03lgy53xg9pmrdd3d8qb4087k5qjnk260655svp6d79x4p2lxr8c"; 16 release."8.11.0".sha256 = "sha256-2Hf7YwRcFmP/DqwFtF1p78MCNV50qUWfMVQtZbwKd0k="; 17 release."8.10.0".sha256 = "sha256-qLPLK2ZLJQ4SmJX2ADqFiP4kgHuQFJTeNXkBbjiFS+4="; 18 release."8.9.0".sha256 = "sha256-lEh978cXehglFX9D92RVltEuvN8umfPo/hvmFZm2NGo="; 19 release."8.8.0".sha256 = "sha256-ikXGzABu8VW7O0xNtCNvIq29c+mlDUm4k/ygVcsgDOI="; 20 release."8.7.0".sha256 = "sha256-jozvkkKLFBllN6K4oeYD0lNG+MdnOuKrDUPDocHUG6c="; 21 release."8.6.0".sha256 = "sha256-jozvkkKLFBllN6K4oeYD0lNG+MdnOuKrDUPDocHUG6c="; 22 release."8.5.0".sha256 = "sha256-mH/v02ObMjbVPYx2H+Jhz+Xp0XRKN67iMAdA1VNFzso="; 23 24 inherit version; 25 defaultVersion = 26 with lib.versions; 27 lib.switch coq.coq-version [ 28 { 29 case = range "8.12" "8.20"; 30 out = "10.2.0"; 31 } 32 { 33 case = range "8.10" "8.16"; 34 out = "9.0.0"; 35 } 36 { 37 case = "8.9"; 38 out = "8.9.0"; 39 } 40 { 41 case = "8.8"; 42 out = "8.8.0"; 43 } 44 { 45 case = "8.7"; 46 out = "8.7.0"; 47 } 48 { 49 case = "8.6"; 50 out = "8.6.0"; 51 } 52 { 53 case = "8.5"; 54 out = "8.5.0"; 55 } 56 ] null; 57 58 useDuneifVersion = lib.versions.isGe "9.0"; 59 60 meta = { 61 description = "Development of basic set theory"; 62 longDescription = '' 63 This Coq library develops some basic set theory. The main 64 purpose the author had in writing it was as support for the 65 Topology library. 66 ''; 67 maintainers = with lib.maintainers; [ siraben ]; 68 license = lib.licenses.lgpl21Plus; 69 }; 70}).overrideAttrs 71 ({ version, ... }: lib.optionalAttrs (lib.versions.isGe "9.0" version) { repo = "topology"; })