2017-12-14 07:36:29 +00:00
|
|
|
{ stdenv, fetchFromGitHub, ocamlPackages }:
|
2016-11-03 10:37:14 +00:00
|
|
|
|
2020-04-13 15:56:29 +01:00
|
|
|
assert stdenv.lib.versionAtLeast ocamlPackages.ocaml.version "4.07";
|
2016-11-03 10:37:14 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jackline";
|
2020-04-23 17:24:15 +01:00
|
|
|
version = "unstable-2020-04-24";
|
2016-11-03 10:37:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hannesm";
|
|
|
|
repo = "jackline";
|
2020-04-23 17:24:15 +01:00
|
|
|
rev = "885b97b90d565f5f7c2b5f66f5edf14a82251b87";
|
|
|
|
sha256 = "1mdn413ya2g0a1mrdbh1b65gnygrxb08k99z5lmidhh34kd1llsj";
|
2016-11-03 10:37:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with ocamlPackages; [
|
2020-04-13 15:56:29 +01:00
|
|
|
ocaml ocamlbuild findlib topkg ppx_sexp_conv ppx_deriving
|
|
|
|
erm_xmpp tls mirage-crypto mirage-crypto-pk x509 domain-name
|
2020-04-23 17:24:15 +01:00
|
|
|
ocaml_lwt otr astring ptime notty sexplib hex uutf
|
2020-04-13 15:56:29 +01:00
|
|
|
dns-client base64
|
2016-11-03 10:37:14 +00:00
|
|
|
];
|
|
|
|
|
2017-12-14 07:36:29 +00:00
|
|
|
buildPhase = "${ocamlPackages.topkg.run} build --pinned true";
|
2016-11-03 10:37:14 +00:00
|
|
|
|
2017-12-14 07:36:29 +00:00
|
|
|
inherit (ocamlPackages.topkg) installPhase;
|
2016-11-03 10:37:14 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/hannesm/jackline";
|
2020-04-13 15:56:29 +01:00
|
|
|
description = "minimalistic secure XMPP client in OCaml";
|
2016-11-03 10:37:14 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|