3
0
Fork 0
forked from mirrors/nixpkgs

swaynotificationcenter: 0.6.3 -> 0.7.1

This commit is contained in:
PedroHLC ☭ 2022-09-15 18:52:48 -03:00
parent 3dc04b3a04
commit 7dae9f3bb8
No known key found for this signature in database
GPG key ID: DF4C6898CBDC6DF5

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-/rLzdli+/YTfk+jQ+RhHUEzeORVnJU4KHDlOG3QCPr0=";
};
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 {