depot/pkgs/development/ocaml-modules/callipyge/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 lines
671 B
Nix

{ 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";
hash = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
};
duneVersion = "3";
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [ fmt eqaf ];
doCheck = true;
checkInputs = [ alcotest ];
meta = {
homepage = "https://github.com/oklm-wsh/Callipyge";
description = "Curve25519 in OCaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fufexan ];
};
}