Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 ocamlPackages, 5}: 6 7with ocamlPackages; 8 9buildDunePackage { 10 pname = "jackline"; 11 version = "unstable-2024-10-21"; 12 13 minimalOCamlVersion = "4.13"; 14 15 src = fetchFromGitHub { 16 owner = "hannesm"; 17 repo = "jackline"; 18 rev = "cf6b26e37e37b0b48be9fd2e74fc563375f757f0"; 19 hash = "sha256-6QZZ77C1G3x/GOJsUEQMrCatVsyyxNjq36ez/TgeHSY="; 20 }; 21 22 nativeBuildInputs = [ 23 ppx_sexp_conv 24 ppx_deriving 25 ]; 26 27 buildInputs = [ 28 erm_xmpp 29 tls 30 tls-lwt 31 mirage-crypto-pk 32 x509 33 domain-name 34 lwt 35 otr 36 astring 37 ptime 38 notty 39 sexplib 40 hex 41 uchar 42 uucp 43 uuseg 44 uutf 45 dns-client 46 base64 47 happy-eyeballs-lwt 48 ppx_sexp_conv 49 ]; 50 51 meta = with lib; { 52 homepage = "https://github.com/hannesm/jackline"; 53 description = "Minimalistic secure XMPP client in OCaml"; 54 mainProgram = "jackline"; 55 license = licenses.bsd2; 56 maintainers = with maintainers; [ sternenseemann ]; 57 }; 58}