From ba75ea457f1041b87ff80fe181836d9640f09d51 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 26 Jul 2023 22:56:32 -0300 Subject: [PATCH] yambar: 1.9.0 -> 1.10.0 --- pkgs/applications/misc/yambar/default.nix | 25 ++++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/misc/yambar/default.nix b/pkgs/applications/misc/yambar/default.nix index f2696c36dbe6..a45586f2b3d0 100644 --- a/pkgs/applications/misc/yambar/default.nix +++ b/pkgs/applications/misc/yambar/default.nix @@ -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; }; })