Skip to content

Commit 8c9630d

Browse files
authored
waybar: 0.10.4 -> 0.11.0 (#341520)
2 parents 02c21a0 + 69b6ec0 commit 8c9630d

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

pkgs/by-name/wa/waybar/package.nix

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
SDL2,
77
alsa-lib,
88
catch2_3,
9+
fetchpatch,
910
fftw,
1011
glib,
1112
gobject-introspection,
@@ -81,15 +82,27 @@ let
8182
in
8283
stdenv.mkDerivation (finalAttrs: {
8384
pname = "waybar";
84-
version = "0.10.4";
85+
version = "0.11.0";
8586

8687
src = fetchFromGitHub {
8788
owner = "Alexays";
8889
repo = "Waybar";
89-
rev = finalAttrs.version;
90-
hash = "sha256-/JW3WnRLpfz8j+9Zc9YkK63i8DjHrKwv9PWKIMz3MVI=";
90+
rev = "refs/tags/${finalAttrs.version}";
91+
hash = "sha256-3lc0voMU5RS+mEtxKuRayq/uJO09X7byq6Rm5NZohq8=";
9192
};
9293

94+
patches = [
95+
# Fix a regression introduced in release 0.11.0
96+
# TODO: remove this patch when updating to the next release
97+
# Issue: https://github.com/Alexays/Waybar/issues/3597
98+
# PR: https://github.com/Alexays/Waybar/pull/3604
99+
(fetchpatch {
100+
name = "fix-tray";
101+
url = "https://github.com/Alexays/Waybar/commit/0d02f6877d88551ea2be0cd151c1e6354e208b1c.patch";
102+
hash = "sha256-wpdK6AY+14jt85dOQy6xkh8tNGDN2F9GA9zOfAuOaIc=";
103+
})
104+
];
105+
93106
postUnpack = lib.optional cavaSupport ''
94107
pushd "$sourceRoot"
95108
cp -R --no-preserve=mode,ownership ${libcava.src} subprojects/cava-0.10.2

0 commit comments

Comments
 (0)