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

26 lines
658 B
Nix
Raw Normal View History

2019-08-23 06:27:34 +01:00
{ lib, fetchFromGitHub, buildDunePackage
, cstruct, sexplib0, rresult, nocrypto, astring
2017-12-14 07:36:29 +00:00
}:
2016-11-03 09:39:14 +00:00
2019-08-23 06:27:34 +01:00
buildDunePackage rec {
pname = "otr";
version = "0.3.6";
2016-11-03 09:39:14 +00:00
src = fetchFromGitHub {
owner = "hannesm";
repo = "ocaml-otr";
2019-09-09 00:38:31 +01:00
rev = version;
2019-08-23 06:27:34 +01:00
sha256 = "0iz6p85a0jxng9aq9blqsky173zaqfr6wlc5j48ad55lgwzlbih5";
2016-11-03 09:39:14 +00:00
};
2019-08-23 06:27:34 +01:00
propagatedBuildInputs = [ cstruct sexplib0 rresult nocrypto astring ];
2016-11-03 09:39:14 +00:00
doCheck = true;
2019-08-23 06:27:34 +01:00
meta = with lib; {
2016-11-03 09:39:14 +00:00
homepage = https://github.com/hannesm/ocaml-otr;
description = "Off-the-record messaging protocol, purely in OCaml";
license = licenses.bsd2;
maintainers = with maintainers; [ sternenseemann ];
};
}