3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #230872 from Aleksanaa/swayosd

swayosd: init at unstable-2023-05-09
This commit is contained in:
Weijia Wang 2023-05-10 12:51:14 +03:00 committed by GitHub
commit 0e70ec60a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, gtk3
, gtk-layer-shell
, libpulseaudio
}:
rustPlatform.buildRustPackage {
pname = "swayosd";
version = "unstable-2023-05-09";
src = fetchFromGitHub {
owner = "ErikReider";
repo = "SwayOSD";
rev = "5c2176ae6a01a18fdc2b0f5d5f593737b5765914";
hash = "sha256-rh42J6LWgNPOWYLaIwocU1JtQnA5P1jocN3ywVOfYoc=";
};
cargoHash = "sha256-ZcgrUcRQTcEYhw2mpJDuYDz3I/u/2Q+O60ajXYRMeow=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gtk3
gtk-layer-shell
libpulseaudio
];
meta = with lib; {
description = "A GTK based on screen display for keyboard shortcuts";
homepage = "https://github.com/ErikReider/SwayOSD";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ aleksana ];
platforms = platforms.linux;
};
}

View file

@ -31201,6 +31201,7 @@ with pkgs;
swaybg = callPackage ../applications/window-managers/sway/bg.nix { };
swayidle = callPackage ../applications/window-managers/sway/idle.nix { };
swaylock = callPackage ../applications/window-managers/sway/lock.nix { };
swayosd = callPackage ../applications/window-managers/sway/osd.nix { };
swayws = callPackage ../applications/window-managers/sway/ws.nix { };
swaywsr = callPackage ../applications/window-managers/sway/wsr.nix { };
sway-contrib = recurseIntoAttrs (callPackages ../applications/window-managers/sway/contrib.nix { });