2021-01-17 03:30:45 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, expat
|
2023-03-21 04:50:28 +01:00
|
|
|
, libmicrohttpd, darwin
|
2018-03-13 15:49:34 +01:00
|
|
|
}:
|
|
|
|
|
2021-01-15 14:21:58 +01:00
|
|
|
with lib;
|
2018-03-13 15:49:34 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "stabber-unstable";
|
2020-08-13 13:39:32 +02:00
|
|
|
version = "2020-06-08";
|
2018-03-13 15:49:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boothj5";
|
|
|
|
repo = "stabber";
|
2020-08-13 13:39:32 +02:00
|
|
|
rev = "3e5c2200715666aad403d0076e8ab584b329965e";
|
|
|
|
sha256 = "0042nbgagl4gcxa5fj7bikjdi1gbk0jwyqnzc5lswpb0l5y0i1ql";
|
2018-03-13 15:49:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preAutoreconf = ''
|
|
|
|
mkdir m4
|
|
|
|
'';
|
|
|
|
|
2022-09-25 04:49:25 +02:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2023-03-21 04:50:28 +01:00
|
|
|
buildInputs = [ glib expat libmicrohttpd ] ++
|
|
|
|
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
2018-03-13 15:49:34 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Stubbed XMPP Server";
|
2020-08-13 13:39:32 +02:00
|
|
|
homepage = "https://github.com/profanity-im/stabber";
|
2018-03-13 15:49:34 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ hschaeidt ];
|
|
|
|
};
|
|
|
|
}
|