mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
waybar: 0.10.4 -> 0.11.0 (#341520)
This commit is contained in:
commit
8c9630d265
@ -6,6 +6,7 @@
|
||||
SDL2,
|
||||
alsa-lib,
|
||||
catch2_3,
|
||||
fetchpatch,
|
||||
fftw,
|
||||
glib,
|
||||
gobject-introspection,
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user