nixpkgs/pkgs/development/ocaml-modules/otr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
777 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage
2024-10-24 16:58:57 +00:00
, digestif, sexplib0, mirage-crypto, mirage-crypto-pk, astring, base64
2017-12-14 07:36:29 +00:00
}:
2016-11-03 09:39:14 +00:00
2019-08-23 05:27:34 +00:00
buildDunePackage rec {
pname = "otr";
2024-10-24 16:58:57 +00:00
version = "1.0.0";
2024-10-24 16:58:57 +00:00
minimalOCamlVersion = "4.13";
2016-11-03 09:39:14 +00:00
src = fetchurl {
2024-10-24 16:58:57 +00:00
url = "https://github.com/hannesm/ocaml-otr/releases/download/v${version}/otr-${version}.tbz";
hash = "sha256-/CcVqLbdylB+LqpKNETkpvQ8SEAIcEFCO1MZqvdmJWU=";
2016-11-03 09:39:14 +00:00
};
2024-10-24 16:58:57 +00:00
propagatedBuildInputs = [ digestif sexplib0 mirage-crypto mirage-crypto-pk
astring base64 ];
2016-11-03 09:39:14 +00:00
doCheck = true;
2019-08-23 05:27:34 +00:00
meta = with lib; {
homepage = "https://github.com/hannesm/ocaml-otr";
2016-11-03 09:39:14 +00:00
description = "Off-the-record messaging protocol, purely in OCaml";
license = licenses.bsd2;
maintainers = with maintainers; [ sternenseemann ];
};
}