3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #17488 from HectorAE/purple-matrix

purple-matrix: init at 2016-07-11
This commit is contained in:
Robin Gloster 2016-08-03 22:43:05 +02:00 committed by GitHub
commit d833d92778
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchgit, pkgconfig, pidgin, json_glib, glib, http-parser } :
let
version = "2016-07-11";
in
stdenv.mkDerivation rec {
name = "purple-matrix-unstable-${version}";
src = fetchgit {
url = "https://github.com/matrix-org/purple-matrix";
rev = "f9d36198a57de1cd1740a3ae11c2ad59b03b724a";
sha256 = "1mmyvc70gslniphmcpk8sfl6ylik6dnprqghx4n47gsj1sb1cy00";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pidgin json_glib glib http-parser ];
installPhase = ''
install -Dm755 -t $out/lib/pidgin/ libmatrix.so
for size in 16 22 48; do
install -TDm644 matrix-"$size"px.png $out/pixmaps/pidgin/protocols/$size/matrix.png
done
'';
meta = {
homepage = https://github.com/matrix-org/purple-matrix;
description = "Matrix support for Pidgin / libpurple";
license = stdenv.lib.licenses.gpl2;
};
}

View file

@ -14277,6 +14277,8 @@ in
purple-hangouts = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-hangouts { };
purple-matrix = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-matrix { };
purple-plugin-pack = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-plugin-pack { };
purple-vk-plugin = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-vk-plugin { };