Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
793 B
Nix
42 lines
793 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
digestif,
|
|
sexplib0,
|
|
mirage-crypto,
|
|
mirage-crypto-pk,
|
|
astring,
|
|
base64,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "otr";
|
|
version = "1.0.0";
|
|
|
|
minimalOCamlVersion = "4.13";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/hannesm/ocaml-otr/releases/download/v${version}/otr-${version}.tbz";
|
|
hash = "sha256-/CcVqLbdylB+LqpKNETkpvQ8SEAIcEFCO1MZqvdmJWU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
digestif
|
|
sexplib0
|
|
mirage-crypto
|
|
mirage-crypto-pk
|
|
astring
|
|
base64
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/hannesm/ocaml-otr";
|
|
description = "Off-the-record messaging protocol, purely in OCaml";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
};
|
|
}
|