Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, buildDunePackage
3, fetchurl
4, alcotest
5, eqaf
6, fmt
7}:
8
9buildDunePackage rec {
10 pname = "callipyge";
11 version = "0.2";
12
13 src = fetchurl {
14 url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz";
15 hash = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
16 };
17
18 duneVersion = "3";
19
20 minimalOCamlVersion = "4.08";
21
22 propagatedBuildInputs = [ fmt eqaf ];
23
24 doCheck = true;
25 checkInputs = [ alcotest ];
26
27 meta = {
28 homepage = "https://github.com/oklm-wsh/Callipyge";
29 description = "Curve25519 in OCaml";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ fufexan ];
32 };
33}