21 stdenv.mkDerivation rec {
23 version = "0-unstable-2024-04-15";
25 src = fetchFromGitHub {
28 rev = "11271760052c4a4a4057f2d287944d74e8fbdb58";
29 hash = "sha256-qOxnl2J+Ivx/TIqodv3a8nP0JQsYoKIrhqnbD9IxU8g=";
32 cargoDeps = rustPlatform.fetchCargoTarball {
34 name = "${pname}-${version}";
35 hash = "sha256-exbVanUvGp0ub4WE3VcsN8hkcK0Ipf0tNfd92UecICg=";
45 rustPlatform.cargoSetupHook
58 ./swayosd_systemd_paths.patch
63 --prefix PATH : ${lib.makeBinPath [ brightnessctl ]}
68 substituteInPlace data/udev/99-swayosd.rules \
69 --replace /bin/chgrp ${coreutils}/bin/chgrp \
70 --replace /bin/chmod ${coreutils}/bin/chmod
74 description = "GTK based on screen display for keyboard shortcuts";
75 homepage = "https://github.com/ErikReider/SwayOSD";
76 license = licenses.gpl3Plus;
77 maintainers = with maintainers; [ aleksana barab-i sergioribera ];
78 platforms = platforms.linux;