diff options
author | edanaher <github@edanaher.net> | 2016-07-20 19:12:31 -0400 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2016-07-21 01:12:31 +0200 |
commit | 5682279d1404ce1a935b63a267327ec5176208e3 (patch) | |
tree | 77cbf7f3e87a9fddbfb4cd12713ca75df66caf20 /pkgs/applications/networking | |
parent | 4e84c6fc7cbf3f66267be56c2af518e6efe236fc (diff) |
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')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-osd/default.nix | 31 |
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 0000000000000..9c0f64d6574de --- /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; + }; +} |