nixpkgs/pkgs/applications/networking/instant-messengers/jackline/default.nix

33 lines
976 B
Nix
Raw Normal View History

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";
stdenv.mkDerivation rec {
2018-06-24 08:27:33 +00:00
version = "2018-05-11";
pname = "jackline";
2016-11-03 10:37:14 +00:00
src = fetchFromGitHub {
owner = "hannesm";
repo = "jackline";
2018-06-24 08:27:33 +00:00
rev = "bc36b1c8b80fee6baba4f91011cd01b82a06e8eb";
sha256 = "1xx2yx8a95m84sa1bkxi3rlx7pd39zkqwk3znj0zzz3cni6apfrz";
2016-11-03 10:37:14 +00:00
};
buildInputs = with ocamlPackages; [
ocaml ocamlbuild findlib topkg ppx_sexp_conv
erm_xmpp tls nocrypto x509 ocaml_lwt otr astring
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; {
homepage = https://github.com/hannesm/jackline;
description = "Terminal-based XMPP client in OCaml";
license = licenses.bsd2;
maintainers = with maintainers; [ sternenseemann ];
};
}