diff options
author | Graham Christensen <graham@grahamc.com> | 2016-07-20 14:38:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-20 14:38:26 +0000 |
commit | 5bc522913b588a749a2273ce038c31433ffa2a15 (patch) | |
tree | 8fe93385cf0240183602f1a52bb906fd5bf6ebe7 /pkgs/applications/networking | |
parent | 8b1976c7f6fab47e4d2e00b4b5b210ddc3fcceaa (diff) | |
parent | 54b037720d8f72c58c6585e86b979edaae3fcae9 (diff) |
Merge pull request #17032 from Ralith/purple-hangouts
purple-hangouts-hg: init at 2016-07-17
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix | 29 |
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 0000000000000..494496e48075e --- /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 ]; + }; +} |