1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, expat
2 , libmicrohttpd, darwin
5 pname = "stabber-unstable";
6 version = "2020-06-08";
8 src = fetchFromGitHub {
11 rev = "3e5c2200715666aad403d0076e8ab584b329965e";
12 sha256 = "0042nbgagl4gcxa5fj7bikjdi1gbk0jwyqnzc5lswpb0l5y0i1ql";
16 # New toolchainsd like gcc-13 trigger warnings and fail the build.
17 substituteInPlace configure.ac --replace "-Werror" ""
24 nativeBuildInputs = [ pkg-config autoreconfHook ];
25 buildInputs = [ glib expat libmicrohttpd ] ++
26 lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
29 description = "Stubbed XMPP Server";
30 mainProgram = "stabber";
31 homepage = "https://github.com/profanity-im/stabber";
32 license = licenses.gpl3;
33 platforms = platforms.unix;
34 maintainers = with maintainers; [ hschaeidt ];