@@ -0,0 +1,38 @@
1+{ stdenv, fetchFromGitHub, fetchpatch
2+, pkgconfig, dbus, gdk_pixbuf, glib, libX11, gtk2, librsvg
3+, dbus_glib, autoreconfHook, wrapGAppsHook }:
4+
5+stdenv.mkDerivation rec {
6+ name = "volnoti-unstable-${version}";
7+ version = "2013-09-23";
8+
9+ src = fetchFromGitHub {
10+ owner = "davidbrazdil";
11+ repo = "volnoti";
12+ rev = "4af7c8e54ecc499097121909f02ecb42a8a60d24";
13+ sha256 = "155lb7w563dkdkdn4752hl0zjhgnq3j4cvs9z98nb25k1xpmpki7";
14+ };
15+
16+ patches = [
17+ # Fix dbus interface headers. See
18+ # https://github.com/davidbrazdil/volnoti/pull/10
19+ (fetchpatch {
20+ url = "https://github.com/davidbrazdil/volnoti/pull/10.patch";
21+ sha256 = "046zfdjmvhb7jrsgh04vfgi35sgy1zkrhd3bzdby3nvds1wslfam";
22+ })
23+ ];
24+
25+ nativeBuildInputs = [ pkgconfig autoreconfHook wrapGAppsHook ];
26+
27+ buildInputs = [
28+ dbus gdk_pixbuf glib libX11 gtk2 dbus_glib librsvg
29+ ];
30+
31+ meta = with stdenv.lib; {
32+ description = "Lightweight volume notification for Linux";
33+ homepage = "https://github.com/davidbrazdil/volnoti";
34+ license = licenses.gpl3;
35+ platforms = platforms.linux;
36+ maintainers = [ maintainers.gilligan ];
37+ };
38+}