9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
14 owner = "donovanglover";
17 hash = "sha256-EWZnimLLV879FiZUax1YK5ML/Qz4qt29rJWn5uoKtqw=";
20 cargoHash = "sha256-V4Z3PKavxfQm7zSoTyoWtxpc8yuuGPemO4OdadQEVdg=";
22 nativeBuildInputs = [ installShellFiles ];
25 installManPage target/man/hyprdim.1
27 installShellCompletion --cmd hyprdim \
28 --bash target/completions/hyprdim.bash \
29 --fish target/completions/hyprdim.fish \
30 --zsh target/completions/_hyprdim
33 passthru.updateScript = nix-update-script { };
36 description = "Automatically dim windows in Hyprland when switching between them";
37 homepage = "https://github.com/donovanglover/hyprdim";
38 license = licenses.gpl3Plus;
39 platforms = platforms.linux;
40 maintainers = with maintainers; [ donovanglover ];
41 mainProgram = "hyprdim";