purple-matrix: init at 2016-07-11

This commit is contained in:
Hector A. Escobedo 2016-08-01 15:17:54 -04:00
parent 2a4312d92b
commit 594256c3a8
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 { };