at 23.11-beta 33 lines 838 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, expat 2, libmicrohttpd, darwin 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 nativeBuildInputs = [ pkg-config autoreconfHook ]; 23 buildInputs = [ glib expat libmicrohttpd ] ++ 24 lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; 25 26 meta = { 27 description = "Stubbed XMPP Server"; 28 homepage = "https://github.com/profanity-im/stabber"; 29 license = licenses.gpl3; 30 platforms = platforms.unix; 31 maintainers = with maintainers; [ hschaeidt ]; 32 }; 33}