1 { lib, mkCoqDerivation, coq, version ? null }:
7 displayVersion = { tlc = false; };
8 defaultVersion = with lib.versions; lib.switch coq.coq-version [
9 { case = range "8.13" "8.16"; out = "20211215"; }
10 { case = range "8.12" "8.13"; out = "20210316"; }
11 { case = range "8.10" "8.12"; out = "20200328"; }
12 { case = range "8.6" "8.12"; out = "20181116"; }
14 release."20211215".sha256 = "sha256:0m4d4jhdcyq8p2gpz9j3nd6jqzmz2bjmbpc0q06b38b8i550mamp";
15 release."20210316".sha256 = "1hlavnx20lxpf2iydbbxqmim9p8wdwv4phzp9ypij93yivih0g4a";
16 release."20200328".sha256 = "16vzild9gni8zhgb3qhmka47f8zagdh03k6nssif7drpim8233lx";
17 release."20181116".sha256 = "032lrbkxqm9d3fhf6nv1kq2z0mqd3czv3ijlbsjwnfh12xck4vpl";
20 homepage = "http://www.chargueraud.org/softs/tlc/";
21 description = "A non-constructive library for Coq";
22 license = licenses.free;
23 maintainers = [ maintainers.vbgl ];
26 lib.optionalAttrs (lib.versionOlder x.version "20210316") {
27 installFlags = [ "CONTRIB=$(out)/lib/coq/${coq.coq-version}/user-contrib" ];