mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
swayrbar: init at 0.3.4
This commit is contained in:
parent
c967528f85
commit
6f15885434
2 changed files with 32 additions and 0 deletions
30
pkgs/tools/wayland/swayrbar/default.nix
Normal file
30
pkgs/tools/wayland/swayrbar/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue