dunst: 1.7.0 -> 1.7.1

This commit is contained in:
Damien Cassou 2021-11-08 08:47:40 +01:00
parent 2de888a972
commit 8adc5dddd8
No known key found for this signature in database
GPG Key ID: B68746238E59B548

View File

@ -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/";