mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
yambar: 1.9.0 -> 1.10.0
This commit is contained in:
parent
6546df7194
commit
ba75ea457f
@ -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;
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user