summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin-plugins
diff options
context:
space:
mode:
authorJascha Geerds <jg@ekby.de>2015-10-05 13:39:42 +0200
committerJascha Geerds <jg@ekby.de>2015-10-05 13:40:54 +0200
commit470e71abbd669086ff7ccb026bfce046d90c91d3 (patch)
tree42f4b7006b650bbd121a9bf3c00205eca68ee72a /pkgs/applications/networking/instant-messengers/pidgin-plugins
parentca9e807530f9f20ad4267e04dd597030ad79b95e (diff)
downloadnixlib-470e71abbd669086ff7ccb026bfce046d90c91d3.tar
nixlib-470e71abbd669086ff7ccb026bfce046d90c91d3.tar.gz
nixlib-470e71abbd669086ff7ccb026bfce046d90c91d3.tar.bz2
nixlib-470e71abbd669086ff7ccb026bfce046d90c91d3.tar.lz
nixlib-470e71abbd669086ff7ccb026bfce046d90c91d3.tar.xz
nixlib-470e71abbd669086ff7ccb026bfce046d90c91d3.tar.zst
nixlib-470e71abbd669086ff7ccb026bfce046d90c91d3.zip
pidgin-skypeweb: init at 2015-10-02
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin-plugins')
-rw-r--r--pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-skypeweb/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-skypeweb/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-skypeweb/default.nix
new file mode 100644
index 000000000000..1c717eb97fba
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-skypeweb/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchFromGitHub, pkgconfig, pidgin, json_glib }:
+
+let
+  rev = "b92a05c67e";
+  date = "2015-10-02";
+in
+stdenv.mkDerivation rec {
+  name = "pidgin-skypeweb-${date}-${rev}";
+
+  src = fetchFromGitHub {
+    owner = "EionRobb";
+    repo = "skype4pidgin";
+    rev = "${rev}";
+    sha256 = "00r57w9iwx2yp68ld6f3zkhf53vsk679b42w3xxla6bqblpcxzxl";
+  };
+
+  sourceRoot = "skype4pidgin-${rev}-src/skypeweb";
+
+  buildInputs = [ pkgconfig pidgin json_glib ];
+
+  makeFlags = [
+    "PLUGIN_DIR_PURPLE=/lib/pidgin/"
+    "DATA_ROOT_DIR_PURPLE=/share"
+    "DESTDIR=$(out)"
+  ];
+
+  postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-skypeweb";
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/EionRobb/skype4pidgin;
+    description = "SkypeWeb Plugin for Pidgin";
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ jgeerds ];
+  };
+}