summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-01-31 06:19:56 +0000
committerFranz Pletz <fpletz@fnordicwalking.de>2017-01-31 09:33:30 +0100
commitd409d239459bbe0dabe9bff854ea15b4b12f10d5 (patch)
tree0a7bf12efa0bd1e7f4d607f21779f7c9c829696d /pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix
parente2bf0416a920e69cca2acc01ca0804ff3757422b (diff)
downloadnixpkgs-d409d239459bbe0dabe9bff854ea15b4b12f10d5.tar
nixpkgs-d409d239459bbe0dabe9bff854ea15b4b12f10d5.tar.gz
nixpkgs-d409d239459bbe0dabe9bff854ea15b4b12f10d5.tar.bz2
nixpkgs-d409d239459bbe0dabe9bff854ea15b4b12f10d5.tar.lz
nixpkgs-d409d239459bbe0dabe9bff854ea15b4b12f10d5.tar.xz
nixpkgs-d409d239459bbe0dabe9bff854ea15b4b12f10d5.tar.zst
nixpkgs-d409d239459bbe0dabe9bff854ea15b4b12f10d5.zip
pidgin-xmpp-receipts: init at 0.7
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix')
-rw-r--r--pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix
new file mode 100644
index 00000000000..c69de60c6cf
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub, pidgin } :
+
+let
+  version = "0.7";
+in
+stdenv.mkDerivation rec {
+  name = "pidgin-xmpp-receipts-${version}";
+
+  src = fetchFromGitHub {
+    owner = "noonien-d";
+    repo = "pidgin-xmpp-receipts";
+    rev = "release_${version}";
+    sha256 = "1ackqwsqgy1nfggl9na4jicv7hd542aazkg629y2jmbyj1dl3kjm";
+  };
+
+  buildInputs = [ pidgin ];
+
+  installPhase = ''
+    mkdir -p $out/lib/pidgin/
+    cp xmpp-receipts.so $out/lib/pidgin/
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = http://devel.kondorgulasch.de/pidgin-xmpp-receipts/;
+    description = "Message delivery receipts (XEP-0184) Pidgin plugin";
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ orivej ];
+  };
+}