about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin-plugins
diff options
context:
space:
mode:
authorBenjamin Saunders <ben.e.saunders@gmail.com>2016-07-17 02:08:43 -0700
committerBenjamin Saunders <ben.e.saunders@gmail.com>2016-07-19 21:45:48 -0700
commit54b037720d8f72c58c6585e86b979edaae3fcae9 (patch)
tree8faa44a4852c18b0d1dead20cfb4a51f4c169e2d /pkgs/applications/networking/instant-messengers/pidgin-plugins
parent125ffff089b6bd360c82cf986d8cc9b17fc2e8ac (diff)
downloadnixlib-54b037720d8f72c58c6585e86b979edaae3fcae9.tar
nixlib-54b037720d8f72c58c6585e86b979edaae3fcae9.tar.gz
nixlib-54b037720d8f72c58c6585e86b979edaae3fcae9.tar.bz2
nixlib-54b037720d8f72c58c6585e86b979edaae3fcae9.tar.lz
nixlib-54b037720d8f72c58c6585e86b979edaae3fcae9.tar.xz
nixlib-54b037720d8f72c58c6585e86b979edaae3fcae9.tar.zst
nixlib-54b037720d8f72c58c6585e86b979edaae3fcae9.zip
purple-hangouts-hg: init at 2016-07-17
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin-plugins')
-rw-r--r--pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix
new file mode 100644
index 000000000000..494496e48075
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchhg, pidgin, glib, json_glib, protobuf, protobufc }:
+
+stdenv.mkDerivation rec {
+  name = "purple-hangouts-hg-${version}";
+  version = "2016-07-17";
+
+  src = fetchhg {
+    url = "https://bitbucket.org/EionRobb/purple-hangouts/";
+    rev = "2c60a5e";
+    sha256 = "1m8132ywg9982q3yiqgy1hzm61wkgi590425pp8yk1q03yipd6zb";
+  };
+
+  buildInputs = [ pidgin glib json_glib protobuf protobufc ];
+
+  installPhase = ''
+    install -Dm755 -t $out/lib/pidgin/ libhangouts.so
+    for size in 16 22 24 48; do
+      install -TDm644 hangouts$size.png $out/pixmaps/pidgin/protocols/$size/hangouts.png
+    done
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://bitbucket.org/EionRobb/purple-hangouts;
+    description = "Native Hangouts support for pidgin";
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ ralith ];
+  };
+}