diff --git a/pkgs/applications/misc/swaynotificationcenter/default.nix b/pkgs/applications/misc/swaynotificationcenter/default.nix index 087e9c82ffb2..fd7e6bfe73b6 100644 --- a/pkgs/applications/misc/swaynotificationcenter/default.nix +++ b/pkgs/applications/misc/swaynotificationcenter/default.nix @@ -18,6 +18,7 @@ , meson , ninja , pkg-config +, python3 , scdoc , vala , xvfb-run @@ -25,13 +26,13 @@ stdenv.mkDerivation (finalAttrs: rec { pname = "SwayNotificationCenter"; - version = "0.6.3"; + version = "0.7.1"; src = fetchFromGitHub { owner = "ErikReider"; repo = "SwayNotificationCenter"; rev = "v${version}"; - hash = "sha256-79Kda2Mi2r38f0J12bRm9wbHiZCy9+ojPDxwlFG8EYw="; + hash = "sha256-s4yacSK5ajuq+BeGcPX+/o9wuDOcTOdZu4p8nPS8wk4="; }; nativeBuildInputs = [ @@ -43,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: rec { meson ninja pkg-config + python3 scdoc vala wrapGAppsHook @@ -61,15 +63,9 @@ stdenv.mkDerivation (finalAttrs: rec { # systemd # ends with broken permission ]; - # Fix-Me: Broken in 0.6.3, but fixed on master. Enable on next release. Requires python3 in nativeBuildInputs. - # postPatch = '' - # chmod +x build-aux/meson/postinstall.py - # patchShebangs build-aux/meson/postinstall.py - # ''; - - # Remove past 0.6.3 - postInstall = '' - glib-compile-schemas "$out"/share/glib-2.0/schemas + postPatch = '' + chmod +x build-aux/meson/postinstall.py + patchShebangs build-aux/meson/postinstall.py ''; passthru.tests.version = testers.testVersion {