swayrbar: init at 0.3.4

This commit is contained in:
Sebastian Sellmeier 2023-01-27 03:19:59 +01:00
parent c967528f85
commit 6f15885434
No known key found for this signature in database
GPG key ID: 51E2BE0CCC826F98
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, fetchFromSourcehut, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "swayrbar";
version = "0.3.4";
src = fetchFromSourcehut {
owner = "~tsdh";
repo = "swayr";
rev = "swayrbar-${version}";
sha256 = "sha256-OQhq5ZUe2OrfRFxoaAbbewoHgQVPv9cQy0VCpYe1SNo=";
};
cargoHash = "sha256-vM4SoRbVylN90b378Qk18A8/2S2IB88lnGCM6sqrhs8=";
# don't build swayr
buildAndTestSubdir = pname;
preCheck = ''
export HOME=$TMPDIR
'';
meta = with lib; {
description = "Status command for sway's swaybar implementing the swaybar-protocol";
homepage = "https://git.sr.ht/~tsdh/swayr#a-idswayrbarswayrbara";
license = with licenses; [ gpl3Plus ];
platforms = platforms.linux;
maintainers = with maintainers; [ sebtm ];
};
}

View file

@ -4101,6 +4101,8 @@ with pkgs;
swayr = callPackage ../tools/wayland/swayr { };
swayrbar = callPackage ../tools/wayland/swayrbar { };
swaysome = callPackage ../tools/wayland/swaysome { };
swayimg = callPackage ../tools/wayland/swayimg { };