waybar: 0.4.0 -> 0.5.0
This commit is contained in:
parent
853b589f78
commit
e3dadb1231
@ -3,17 +3,18 @@
|
|||||||
, traySupport ? true, libdbusmenu-gtk3
|
, traySupport ? true, libdbusmenu-gtk3
|
||||||
, pulseSupport ? false, libpulseaudio
|
, pulseSupport ? false, libpulseaudio
|
||||||
, nlSupport ? true, libnl
|
, nlSupport ? true, libnl
|
||||||
|
, udevSupport ? true, udev
|
||||||
, swaySupport ? true, sway
|
, swaySupport ? true, sway
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "waybar-${version}";
|
name = "waybar-${version}";
|
||||||
version = "0.4.0";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Alexays";
|
owner = "Alexays";
|
||||||
repo = "Waybar";
|
repo = "Waybar";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0vkx1b6bgr75wkx89ppxhg4103vl2g0sky22npmfkvbkpgh8dj38";
|
sha256 = "006pzx4crsqn9vk28g87306xh3jrfwk4ib9cmsxqrxy8v0kl2s4g";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -25,19 +26,21 @@
|
|||||||
++ optional traySupport libdbusmenu-gtk3
|
++ optional traySupport libdbusmenu-gtk3
|
||||||
++ optional pulseSupport libpulseaudio
|
++ optional pulseSupport libpulseaudio
|
||||||
++ optional nlSupport libnl
|
++ optional nlSupport libnl
|
||||||
|
++ optional udevSupport udev
|
||||||
++ optional swaySupport sway;
|
++ optional swaySupport sway;
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Ddbusmenu-gtk=${ if traySupport then "enabled" else "disabled" }"
|
"-Ddbusmenu-gtk=${ if traySupport then "enabled" else "disabled" }"
|
||||||
"-Dpulseaudio=${ if pulseSupport then "enabled" else "disabled" }"
|
"-Dpulseaudio=${ if pulseSupport then "enabled" else "disabled" }"
|
||||||
"-Dlibnl=${ if nlSupport then "enabled" else "disabled" }"
|
"-Dlibnl=${ if nlSupport then "enabled" else "disabled" }"
|
||||||
|
"-Dlibudev=${ if udevSupport then "enabled" else "disabled" }"
|
||||||
"-Dout=${placeholder "out"}"
|
"-Dout=${placeholder "out"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Highly customizable Wayland bar for Sway and Wlroots based compositors";
|
description = "Highly customizable Wayland bar for Sway and Wlroots based compositors";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.FlorianFranzen ];
|
maintainers = with maintainers; [ FlorianFranzen minijackson ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user