Skip to content

Commit

Permalink
waybar: 0.10.4 -> 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Sep 16, 2024
1 parent a062077 commit 69b6ec0
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions pkgs/by-name/wa/waybar/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
SDL2,
alsa-lib,
catch2_3,
fetchpatch,
fftw,
glib,
gobject-introspection,
Expand Down Expand Up @@ -81,15 +82,27 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "waybar";
version = "0.10.4";
version = "0.11.0";

src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = finalAttrs.version;
hash = "sha256-/JW3WnRLpfz8j+9Zc9YkK63i8DjHrKwv9PWKIMz3MVI=";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-3lc0voMU5RS+mEtxKuRayq/uJO09X7byq6Rm5NZohq8=";
};

patches = [
# Fix a regression introduced in release 0.11.0
# TODO: remove this patch when updating to the next release
# Issue: https://github.com/Alexays/Waybar/issues/3597
# PR: https://github.com/Alexays/Waybar/pull/3604
(fetchpatch {
name = "fix-tray";
url = "https://github.com/Alexays/Waybar/commit/0d02f6877d88551ea2be0cd151c1e6354e208b1c.patch";
hash = "sha256-wpdK6AY+14jt85dOQy6xkh8tNGDN2F9GA9zOfAuOaIc=";
})
];

postUnpack = lib.optional cavaSupport ''
pushd "$sourceRoot"
cp -R --no-preserve=mode,ownership ${libcava.src} subprojects/cava-0.10.2
Expand Down

0 comments on commit 69b6ec0

Please sign in to comment.