2021-08-27 14:25:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, alcotest
|
|
|
|
, eqaf
|
|
|
|
, fmt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "callipyge";
|
|
|
|
version = "0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz";
|
2023-03-30 22:05:00 +00:00
|
|
|
hash = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
|
2023-03-30 22:05:00 +00:00
|
|
|
duneVersion = "3";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
2023-03-30 22:05:00 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ fmt eqaf ];
|
|
|
|
|
2023-03-30 22:05:00 +00:00
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/oklm-wsh/Callipyge";
|
|
|
|
description = "Curve25519 in OCaml";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ fufexan ];
|
|
|
|
};
|
|
|
|
}
|