21 stdenv.mkDerivation rec {
25 src = fetchFromGitHub {
29 hash = "sha256-GyvRWEzTxQxTAk+xCLFsHdd1SttBliOgJ6eZqAxQMME=";
32 cargoDeps = rustPlatform.fetchCargoTarball {
33 inherit pname version src;
34 hash = "sha256-EUxJ+aGtYAO0kNggNXIZqj2DmPzc4serj0/V+fvH7ds=";
44 rustPlatform.cargoSetupHook
57 ./swayosd_systemd_paths.patch
62 --prefix PATH : ${lib.makeBinPath [ brightnessctl ]}
67 substituteInPlace data/udev/99-swayosd.rules \
68 --replace /bin/chgrp ${coreutils}/bin/chgrp \
69 --replace /bin/chmod ${coreutils}/bin/chmod
73 description = "GTK based on screen display for keyboard shortcuts";
74 homepage = "https://github.com/ErikReider/SwayOSD";
75 license = licenses.gpl3Plus;
76 maintainers = with maintainers; [
81 platforms = platforms.linux;