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-13 15:56:29 +01:00
|
|
|
version = "unstable-2020-03-22";
|
2016-11-03 10:37:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hannesm";
|
|
|
|
repo = "jackline";
|
2020-04-13 15:56:29 +01:00
|
|
|
rev = "52f84525c74c43e8d03fb1e6ff025ccb2699e4aa";
|
|
|
|
sha256 = "0wir573ah1w16xzdn9rfwk3569zq4ff5frp0ywq70va4gdlb679c";
|
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
|
|
|
|
ocaml_lwt otr astring ptime mtime notty sexplib hex uutf
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|