summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers
diff options
context:
space:
mode:
authoredanaher <github@edanaher.net>2016-07-20 19:12:31 -0400
committerRok Garbas <rok@garbas.si>2016-07-21 01:12:31 +0200
commit5682279d1404ce1a935b63a267327ec5176208e3 (patch)
tree77cbf7f3e87a9fddbfb4cd12713ca75df66caf20 /pkgs/applications/networking/instant-messengers
parent4e84c6fc7cbf3f66267be56c2af518e6efe236fc (diff)
downloadnixpkgs-5682279d1404ce1a935b63a267327ec5176208e3.tar
nixpkgs-5682279d1404ce1a935b63a267327ec5176208e3.tar.gz
nixpkgs-5682279d1404ce1a935b63a267327ec5176208e3.tar.bz2
nixpkgs-5682279d1404ce1a935b63a267327ec5176208e3.tar.lz
nixpkgs-5682279d1404ce1a935b63a267327ec5176208e3.tar.xz
nixpkgs-5682279d1404ce1a935b63a267327ec5176208e3.tar.zst
nixpkgs-5682279d1404ce1a935b63a267327ec5176208e3.zip
pidgin-osd: init at 0.1.0 (#16792)
* pidgin-osd: init at 0.1.0

A straightforward pidgin plugin; kind of ancient, but still works fine.

* Use autoreconf, which minor hackery around ChangeLog.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r--pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-osd/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-osd/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-osd/default.nix
new file mode 100644
index 00000000000..9c0f64d6574
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-osd/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, pidgin, xosd
+, autoreconfHook } :
+
+stdenv.mkDerivation rec {
+  name = "pidgin-osd-0.1.0";
+  src = fetchurl {
+    url = https://github.com/mbroemme/pidgin-osd/archive/pidgin-osd-0.1.0.tar.gz;
+    sha256 = "11hqfifhxa9gijbnp9kq85k37hvr36spdd79cj9bkkvw4kyrdp3j";
+  };
+
+  makeFlags = "PIDGIN_LIBDIR=$(out)";
+
+  # autoreconf is run such that it *really* wants all the files, and there's no
+  # default ChangeLog.  So make it happy.
+  preAutoreconf = "touch ChangeLog";
+
+  postInstall = ''
+    mkdir -p $out/lib/pidgin
+    ln -s $out/pidgin $out/lib/pidgin
+  '';
+
+  nativeBuildInputs = [ autoreconfHook ];
+  buildInputs = [ xosd pidgin ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/mbroemme/pidgin-osd;
+    description = "Plugin for Pidgin which implements on-screen display via libxosd";
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+  };
+}