yambar: 1.9.0 -> 1.10.0

This commit is contained in:
Anderson Torres 2023-07-26 22:56:32 -03:00
parent 6546df7194
commit ba75ea457f

View File

@ -29,22 +29,21 @@
, x11Support ? true
}:
let
inherit (lib) mesonEnable;
in
assert (x11Support || waylandSupport);
stdenv.mkDerivation (finalAttrs: {
pname = "yambar";
version = "1.9.0";
version = "1.10.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "dnkl";
repo = "yambar";
rev = finalAttrs.version;
hash = "sha256-0bgRnZYLGWJ9PE62i04hPBcgzWyd30DK7AUuejSgta4=";
hash = "sha256-+bNTEPGV5xaVXhsejyK+FCcJ9J06KS6x7/qo6P2DnZI=";
};
outputs = [ "out" "man" ];
nativeBuildInputs = [
bison
flex
@ -76,16 +75,17 @@ stdenv.mkDerivation (finalAttrs: {
xcbutilwm
];
strictDeps = false;
mesonBuildType = "release";
mesonFlags = [
(mesonEnable "backend-x11" x11Support)
(mesonEnable "backend-wayland" waylandSupport)
(lib.mesonEnable "backend-x11" x11Support)
(lib.mesonEnable "backend-wayland" waylandSupport)
];
meta = with lib; {
meta = {
homepage = "https://codeberg.org/dnkl/yambar";
changelog = "https://codeberg.org/dnkl/yambar/releases/tag/${finalAttrs.version}";
description = "Modular status panel for X11 and Wayland";
longDescription = ''
yambar is a lightweight and configurable status panel (bar, for short) for
@ -112,8 +112,9 @@ stdenv.mkDerivation (finalAttrs: {
To summarize: a bar displays information provided by modules, using
particles and decorations. How is configured by you.
'';
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
changelog = "https://codeberg.org/dnkl/yambar/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
})