mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
Merge pull request #328028 from GaetanLepage/waybar
waybar: 0.10.3 -> 0.10.4
This commit is contained in:
commit
5531c06469
|
@ -66,6 +66,8 @@
|
|||
wireplumberSupport ? true,
|
||||
withMediaPlayer ? mprisSupport && false,
|
||||
nix-update-script,
|
||||
testers,
|
||||
waybar,
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -79,18 +81,18 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "waybar";
|
||||
version = "0.10.3";
|
||||
version = "0.10.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Alexays";
|
||||
repo = "Waybar";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-LUageV0xC42MldMmYY1njkm95icBsqID1tEGy3wwrRM=";
|
||||
hash = "sha256-/JW3WnRLpfz8j+9Zc9YkK63i8DjHrKwv9PWKIMz3MVI=";
|
||||
};
|
||||
|
||||
postUnpack = lib.optional cavaSupport ''
|
||||
pushd "$sourceRoot"
|
||||
cp -R --no-preserve=mode,ownership ${libcava.src} subprojects/cava-0.10.1
|
||||
cp -R --no-preserve=mode,ownership ${libcava.src} subprojects/cava-0.10.2
|
||||
patchShebangs .
|
||||
popd
|
||||
'';
|
||||
|
@ -183,7 +185,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
--prefix PYTHONPATH : "$PYTHONPATH:$out/${python3.sitePackages}"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
package = waybar;
|
||||
version = "v${finalAttrs.version}";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/alexays/waybar";
|
||||
|
|
Loading…
Reference in a new issue