Merge pull request #19362 from davorb/purple-facebook

purple-facebook: init at 66ee77378d82
This commit is contained in:
Jörg Thalheim 2016-10-12 13:38:34 +02:00 committed by GitHub
commit 9079bc08e5
3 changed files with 39 additions and 0 deletions

View File

@ -108,6 +108,7 @@
danbst = "Danylo Hlynskyi <abcz2.uprola@gmail.com>";
davidak = "David Kleuker <post@davidak.de>";
davidrusu = "David Rusu <davidrusu.me@gmail.com>";
davorb = "Davor Babic <davor@davor.se>";
dbohdan = "Danyil Bohdan <danyil.bohdan@gmail.com>";
dbrock = "Daniel Brockman <daniel@brockman.se>";
deepfire = "Kosyrev Serge <_deepfire@feelingofgreen.ru>";

View File

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub, pidgin, glib, json_glib, mercurial, autoreconfHook } :
stdenv.mkDerivation rec {
name = "purple-facebook-${version}";
version = "2016-04-09";
src = fetchFromGitHub {
owner = "dequis";
repo = "purple-facebook";
rev = "66ee77378d82";
sha256 = "0kr9idl79h70lacd3cvpmzvfd6il3b5xm2fj1sj96l7bjhiw9s3y";
};
preAutoreconf = "./autogen.sh";
makeFlags = [
"PLUGIN_DIR_PURPLE=/lib/pidgin/"
"DATA_ROOT_DIR_PURPLE=/share"
"DESTDIR=$(out)"
];
postInstall = ''
mkdir -p $out/lib/purple-2
cp pidgin/libpurple/protocols/facebook/.libs/*.so $out/lib/purple-2/
'';
buildInputs = [ pidgin glib json_glib mercurial autoreconfHook];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Facebook protocol plugin for libpurple";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ davorb ];
};
}

View File

@ -14033,6 +14033,8 @@ in
pidgin-opensteamworks = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks { };
purple-facebook = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-facebook { };
pithos = callPackage ../applications/audio/pithos {
pythonPackages = python3Packages;
};