2021-01-09 10:05:03 +00:00
|
|
|
{ which, lib, mkCoqDerivation, coq, bignums, version ? null }:
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation {
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
pname = "coqprime";
|
|
|
|
owner = "thery";
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2023-10-09 19:29:22 +00:00
|
|
|
{ case = range "8.14" "8.18"; out = "8.17"; }
|
2022-06-16 17:23:12 +00:00
|
|
|
{ case = range "8.12" "8.16"; out = "8.15"; }
|
2021-01-09 10:05:03 +00:00
|
|
|
{ case = range "8.10" "8.11"; out = "8.10"; }
|
|
|
|
{ case = range "8.8" "8.9"; out = "8.8"; }
|
|
|
|
{ case = "8.7"; out = "8.7.2"; }
|
|
|
|
] null;
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
release."8.17".sha256 = "sha256-D878t/PijVCopRKHYqfwdNvt3arGlI8yxbK/vI6qZUY=";
|
2022-04-15 01:41:22 +00:00
|
|
|
release."8.15".sha256 = "sha256:1zr2q52r08na8265019pj9spcz982ivixk6cnzk6l1srn2g328gv";
|
2021-12-06 16:07:01 +00:00
|
|
|
release."8.14.1".sha256= "sha256:0dqf87xkzcpg7gglbxjyx68ad84w1w73icxgy3s7d3w563glc2p7";
|
2021-01-09 10:05:03 +00:00
|
|
|
release."8.12".sha256 = "1slka4w0pya15js4drx9frj7lxyp3k2lzib8v23givzpnxs8ijdj";
|
|
|
|
release."8.10".sha256 = "0r9gnh5a5ykiiz5h1i8xnzgiydpwc4z9qhndxyya85xq0f910qaz";
|
|
|
|
release."8.8".sha256 = "075yjczk79pf1hd3lgdjiz84ilkzfxjh18lgzrhhqp7d3kz5lxp5";
|
|
|
|
release."8.7.2".sha256 = "15zlcrx06qqxjy3nhh22wzy0rb4npc8l4nx2bbsfsvrisbq1qb7k";
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ bignums ];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library to certify primality using Pocklington certificate and Elliptic Curve Certificate";
|
|
|
|
license = licenses.lgpl21;
|
2021-01-09 10:05:03 +00:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|