Merge pull request #191397 from PedroHLC/swaync-0.7.1

swaynotificationcenter: 0.6.3 -> 0.7.1
This commit is contained in:
Jonas Heinrich 2022-09-16 12:23:20 +02:00 committed by GitHub
commit 51bba8d2a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {