1 { which, lib, mkCoqDerivation, coq, bignums, version ? null }:
8 defaultVersion = with lib.versions; lib.switch coq.coq-version [
9 { case = range "8.14" "8.18"; out = "8.18"; }
10 { case = range "8.12" "8.16"; out = "8.15"; }
11 { case = range "8.10" "8.11"; out = "8.10"; }
12 { case = range "8.8" "8.9"; out = "8.8"; }
13 { case = "8.7"; out = "8.7.2"; }
16 release."8.18".sha256 = "sha256-KObBEYerWhIStmq90G3vs9K5LUEOfB2SPxirwLiWQ6E=";
17 release."8.17".sha256 = "sha256-D878t/PijVCopRKHYqfwdNvt3arGlI8yxbK/vI6qZUY=";
18 release."8.15".sha256 = "sha256:1zr2q52r08na8265019pj9spcz982ivixk6cnzk6l1srn2g328gv";
19 release."8.14.1".sha256= "sha256:0dqf87xkzcpg7gglbxjyx68ad84w1w73icxgy3s7d3w563glc2p7";
20 release."8.12".sha256 = "1slka4w0pya15js4drx9frj7lxyp3k2lzib8v23givzpnxs8ijdj";
21 release."8.10".sha256 = "0r9gnh5a5ykiiz5h1i8xnzgiydpwc4z9qhndxyya85xq0f910qaz";
22 release."8.8".sha256 = "075yjczk79pf1hd3lgdjiz84ilkzfxjh18lgzrhhqp7d3kz5lxp5";
23 release."8.7.2".sha256 = "15zlcrx06qqxjy3nhh22wzy0rb4npc8l4nx2bbsfsvrisbq1qb7k";
24 releaseRev = v: "v${v}";
26 propagatedBuildInputs = [ bignums ];
29 description = "Library to certify primality using Pocklington certificate and Elliptic Curve Certificate";
30 license = licenses.lgpl21;
31 maintainers = [ maintainers.vbgl ];