1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, expat
2, libmicrohttpd
3}:
4
5with lib;
6
7stdenv.mkDerivation {
8 pname = "stabber-unstable";
9 version = "2020-06-08";
10
11 src = fetchFromGitHub {
12 owner = "boothj5";
13 repo = "stabber";
14 rev = "3e5c2200715666aad403d0076e8ab584b329965e";
15 sha256 = "0042nbgagl4gcxa5fj7bikjdi1gbk0jwyqnzc5lswpb0l5y0i1ql";
16 };
17
18 preAutoreconf = ''
19 mkdir m4
20 '';
21
22 buildInputs = [ autoreconfHook pkg-config glib expat libmicrohttpd ];
23
24 meta = {
25 description = "Stubbed XMPP Server";
26 homepage = "https://github.com/profanity-im/stabber";
27 license = licenses.gpl3;
28 platforms = platforms.unix;
29 maintainers = with maintainers; [ hschaeidt ];
30 };
31}