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

26 lines
658 B
Nix
Raw Normal View History

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