purple-discord: init at 2018-04-10

This commit is contained in:
S. Nordin Abouzahra 2018-04-10 10:11:05 -04:00 committed by Jan Tojnar
parent 93925cd94c
commit 92f0d31b94
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, pkgconfig, pidgin, json_glib }:
stdenv.mkDerivation rec {
name = "purple-discord-${version}";
version = "unstable-2018-04-10";
src = fetchFromGitHub {
owner = "EionRobb";
repo = "purple-discord";
rev = "9a97886d15a1f028de54b5e6fc54e784531063b0";
sha256 = "0dc344zh1v4yh9c8javcw5ylzwc1wpx0ih8bww8p8cjmhr8kcl32";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pidgin json_glib ];
makeFlags = [
"DESTDIR=$(out)"
];
PKG_CONFIG_PURPLE_PLUGINDIR = "/lib/purple-2";
PKG_CONFIG_PURPLE_DATADIR = "/share";
meta = with stdenv.lib; {
homepage = https://github.com/EionRobb/purple-discord;
description = "Discord plugin for Pidgin";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ sna ];
};
}

View File

@ -17258,6 +17258,8 @@ with pkgs;
pidgin-window-merge = callPackage ../applications/networking/instant-messengers/pidgin-plugins/window-merge { };
purple-discord = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-discord { };
purple-hangouts = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-hangouts { };
purple-matrix = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-matrix { };