@@ -1,34 +1,39 @@
11{ stdenv, fetchFromGitHub, fetchpatch
2−, pkgconfig, which, perl, gtk2, xrandr
3−, cairo, dbus, gdk_pixbuf, glib, libX11, libXScrnSaver
2+, pkgconfig, which, perl, libXrandr
3+, cairo, dbus, systemd, gdk_pixbuf, glib, libX11, libXScrnSaver
44, libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg
55}:
66
77stdenv.mkDerivation rec {
88 name = "dunst-${version}";
9− version = "1.2.0";
9+ version = "1.3.0";
1010
1111 src = fetchFromGitHub {
1212 owner = "dunst-project";
1313 repo = "dunst";
1414 rev = "v${version}";
15− sha256 = "0jncnb4z4hg92ws08bkf52jswsd4vqlzyznwbynhh2jh6q0sl18b";
15+ sha256 = "1085v4193yfj8ksngp4mk5n0nwzr3s5y3cs3c74ymaldfl20x91k";
1616 };
1717
18− nativeBuildInputs = [ perl pkgconfig which ];
18+ nativeBuildInputs = [ perl pkgconfig which systemd ];
1919
2020 buildInputs = [
2121 cairo dbus gdk_pixbuf glib libX11 libXScrnSaver
22− libXinerama libnotify libxdg_basedir pango xproto librsvg gtk2 xrandr
22+ libXinerama libnotify libxdg_basedir pango xproto librsvg libXrandr
2323 ];
2424
2525 outputs = [ "out" "man" ];
2626
27− makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
27+ makeFlags = [
28+ "PREFIX=$(out)"
29+ "VERSION=$(version)"
30+ "SERVICEDIR_DBUS=$(out)/share/dbus-1/services"
31+ "SERVICEDIR_SYSTEMD=$(out)/lib/systemd/user"
32+ ];
2833
2934 meta = with stdenv.lib; {
3035 description = "Lightweight and customizable notification daemon";
31− homepage = http://www.knopwob.org/dunst/;
36+ homepage = https://dunst-project.org/;
3237 license = licenses.bsd3;
3338 # NOTE: 'unix' or even 'all' COULD work too, I'm not sure
3439 platforms = platforms.linux;