2017-12-14 07:36:29 +00:00
|
|
|
{ stdenv, fetchFromGitHub, ocamlPackages }:
|
2016-11-03 10:37:14 +00:00
|
|
|
|
|
|
|
assert stdenv.lib.versionAtLeast ocamlPackages.ocaml.version "4.02.2";
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jackline";
|
2019-08-24 08:02:26 +01:00
|
|
|
version = "2019-08-08";
|
2016-11-03 10:37:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hannesm";
|
|
|
|
repo = "jackline";
|
2019-08-24 08:02:26 +01:00
|
|
|
rev = "b934594010a563ded9c0f436e3fab8f1cae29856";
|
|
|
|
sha256 = "076h03jd970xlii90ax6kvgyq67g81gs30yvdzps366n7zzy3yfc";
|
2016-11-03 10:37:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with ocamlPackages; [
|
|
|
|
ocaml ocamlbuild findlib topkg ppx_sexp_conv
|
2018-09-21 18:01:52 +01:00
|
|
|
erm_xmpp tls nocrypto x509 ocaml_lwt otr astring
|
2017-12-28 08:01:03 +00:00
|
|
|
ptime notty sexplib hex uutf
|
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";
|
2016-11-03 10:37:14 +00:00
|
|
|
description = "Terminal-based XMPP client in OCaml";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|