summary refs log tree commit diff
path: root/pkgs/applications/misc/dunst/default.nix
diff options
context:
space:
mode:
authorDamien Cassou <damien@cassou.me>2021-11-08 08:47:40 +0100
committerDamien Cassou <damien@cassou.me>2021-11-08 08:47:40 +0100
commit8adc5dddd817e25526fa117b27e30f91de533109 (patch)
tree13375fddc879d702c35099e8e0cd425eb6172661 /pkgs/applications/misc/dunst/default.nix
parent2de888a972be0747c29a23de73a092fd0e558677 (diff)
downloadnixpkgs-8adc5dddd817e25526fa117b27e30f91de533109.tar
nixpkgs-8adc5dddd817e25526fa117b27e30f91de533109.tar.gz
nixpkgs-8adc5dddd817e25526fa117b27e30f91de533109.tar.bz2
nixpkgs-8adc5dddd817e25526fa117b27e30f91de533109.tar.lz
nixpkgs-8adc5dddd817e25526fa117b27e30f91de533109.tar.xz
nixpkgs-8adc5dddd817e25526fa117b27e30f91de533109.tar.zst
nixpkgs-8adc5dddd817e25526fa117b27e30f91de533109.zip
dunst: 1.7.0 -> 1.7.1
Diffstat (limited to 'pkgs/applications/misc/dunst/default.nix')
-rw-r--r--pkgs/applications/misc/dunst/default.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/applications/misc/dunst/default.nix b/pkgs/applications/misc/dunst/default.nix
index 67753b6e371..49c43d47741 100644
--- a/pkgs/applications/misc/dunst/default.nix
+++ b/pkgs/applications/misc/dunst/default.nix
@@ -3,27 +3,20 @@
 , cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver
 , wayland, wayland-protocols
 , libXinerama, libnotify, pango, xorgproto, librsvg
+, testVersion, dunst
 }:
 
 stdenv.mkDerivation rec {
   pname = "dunst";
-  version = "1.7.0";
+  version = "1.7.1";
 
   src = fetchFromGitHub {
     owner = "dunst-project";
     repo = "dunst";
     rev = "v${version}";
-    sha256 = "sha256-BWbvGetXXCXbfPRY+u6gEfzBmX8PLSnI6a5vfCByiC0=";
+    sha256 = "0v15fhwzcg7zfn092sry0f4qb6dccz9bb312y9dadg745wf3n9qw";
   };
 
-  patches = [
-    (fetchpatch {
-      # fixes double free (https://github.com/dunst-project/dunst/issues/957)
-      url = "https://github.com/dunst-project/dunst/commit/dc8efbbaff0e9ba881fa187a01bfe5c033fbdcf9.patch";
-      sha256 = "sha256-xuODOFDP9Eqr3g8OtNnaMmTihhurfj2NLeZPr0TF4vY=";
-    })
-  ];
-
   nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ];
 
   buildInputs = [
@@ -47,6 +40,8 @@ stdenv.mkDerivation rec {
       --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
   '';
 
+  passthru.tests.version = testVersion { package = dunst; };
+
   meta = with lib; {
     description = "Lightweight and customizable notification daemon";
     homepage = "https://dunst-project.org/";