Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

hyprdim: 2.2.1 -> 2.2.2

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