diff options
author | Bodil Stokke <bodil@bodil.org> | 2014-09-23 21:53:30 +0100 |
---|---|---|
committer | Bodil Stokke <bodil@bodil.org> | 2014-09-23 21:58:44 +0100 |
commit | 1536c1cc0b551f172539ef546f8751112622f5f6 (patch) | |
tree | 436784e45b109b95cb49da5f7fdbc4666eaac3bc /pkgs/applications/misc/notify-osd | |
parent | 5853c2da91be436e52fcb5115a5a56ae04b4fbba (diff) |
Added notify-osd package.
Diffstat (limited to 'pkgs/applications/misc/notify-osd')
-rw-r--r-- | pkgs/applications/misc/notify-osd/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/misc/notify-osd/default.nix b/pkgs/applications/misc/notify-osd/default.nix new file mode 100644 index 0000000000000..616b27336384a --- /dev/null +++ b/pkgs/applications/misc/notify-osd/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, pkgconfig, glib, libwnck3, libnotify, dbus_glib, makeWrapper, gnome3 }: + +stdenv.mkDerivation rec { + name = "notify-osd-${version}"; + version = "0.9.34"; + + src = fetchurl { + url = "https://launchpad.net/notify-osd/precise/${version}/+download/notify-osd-${version}.tar.gz"; + sha256 = "0g5a7a680b05x27apz0y1ldl5csxpp152wqi42s107jymbp0s20j"; + }; + + buildInputs = [ + pkgconfig glib libwnck3 libnotify dbus_glib makeWrapper + gnome3.gsettings_desktop_schemas + ]; + + configureFlags = "--libexecdir=$(out)/bin"; + + preFixup = '' + wrapProgram "$out/bin/notify-osd" \ + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:\$XDG_DATA_DIRS" + ''; + + meta = with stdenv.lib; { + description = "Daemon that displays passive pop-up notifications"; + homepage = https://launchpad.net/notify-osd; + license = licenses.gpl3; + maintainers = [ maintainers.bodil ]; + platforms = platforms.linux; + }; +} |