hyprdim: 2.2.1 -> 2.2.2

+12 -9
+12 -9
pkgs/applications/misc/hyprdim/default.nix
··· 2 , rustPlatform 3 , fetchFromGitHub 4 , installShellFiles 5 }: 6 7 rustPlatform.buildRustPackage rec { 8 pname = "hyprdim"; 9 - version = "2.2.1"; 10 11 src = fetchFromGitHub { 12 owner = "donovanglover"; 13 - repo = pname; 14 rev = version; 15 - hash = "sha256-6HeVLgEJDPy4cWL5td3Xl7+a6WUFZWUFynvBzPhItcg="; 16 }; 17 18 - cargoHash = "sha256-qYX5o64X8PsFcTYuZ82lIShyUN69oTzQIHrQH4B7iIw="; 19 20 nativeBuildInputs = [ 21 installShellFiles 22 ]; 23 24 postInstall = '' 25 - installManPage man/hyprdim.1 26 27 installShellCompletion --cmd hyprdim \ 28 - --bash <(cat completions/hyprdim.bash) \ 29 - --fish <(cat completions/hyprdim.fish) \ 30 - --zsh <(cat completions/_hyprdim) 31 ''; 32 33 meta = with lib; { 34 description = "Automatically dim windows in Hyprland when switching between them"; 35 homepage = "https://github.com/donovanglover/hyprdim"; 36 - license = licenses.mit; 37 platforms = platforms.linux; 38 maintainers = with maintainers; [ donovanglover ]; 39 mainProgram = "hyprdim";
··· 2 , rustPlatform 3 , fetchFromGitHub 4 , installShellFiles 5 + , nix-update-script 6 }: 7 8 rustPlatform.buildRustPackage rec { 9 pname = "hyprdim"; 10 + version = "2.2.2"; 11 12 src = fetchFromGitHub { 13 owner = "donovanglover"; 14 + repo = "hyprdim"; 15 rev = version; 16 + hash = "sha256-b2T/ueinKiheuK+siV29vJfEsEodq6qT2J3XxvoD/14="; 17 }; 18 19 + cargoHash = "sha256-Sf32vaqcxVdg6/kDidxBSr5XDWg3aNEBpEl31do2ZJ8="; 20 21 nativeBuildInputs = [ 22 installShellFiles 23 ]; 24 25 postInstall = '' 26 + installManPage target/man/hyprdim.1 27 28 installShellCompletion --cmd hyprdim \ 29 + --bash <(cat target/completions/hyprdim.bash) \ 30 + --fish <(cat target/completions/hyprdim.fish) \ 31 + --zsh <(cat target/completions/_hyprdim) 32 ''; 33 + 34 + passthru.updateScript = nix-update-script { }; 35 36 meta = with lib; { 37 description = "Automatically dim windows in Hyprland when switching between them"; 38 homepage = "https://github.com/donovanglover/hyprdim"; 39 + license = licenses.gpl3Plus; 40 platforms = platforms.linux; 41 maintainers = with maintainers; [ donovanglover ]; 42 mainProgram = "hyprdim";