3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/jackline/default.nix

34 lines
1 KiB
Nix
Raw Normal View History

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 {
pname = "jackline";
version = "unstable-2020-04-24";
2016-11-03 10:37:14 +00:00
src = fetchFromGitHub {
owner = "hannesm";
repo = "jackline";
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
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; {
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 ];
};
}