deadnix: 1.3.1 -> 1.3.2 (#546449)

This commit is contained in:
Peder Bergebakken Sundt
2026-07-29 22:35:55 +00:00
committed by GitHub
+16 -4
View File
@@ -2,26 +2,38 @@
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "deadnix";
version = "1.3.1";
version = "1.3.2";
src = fetchFromGitHub {
owner = "astro";
repo = "deadnix";
rev = "v${finalAttrs.version}";
hash = "sha256-WrzIqt28RhoFYhCMu5oY5jAdGh0Gv5uryW/1jTX99aY=";
hash = "sha256-Lx49eqWINMTi3jgacSUHQ0SAU7jWlqaO2ZMrER+Bd/A=";
};
cargoHash = "sha256-IgGuWIsDsiMqscO4B876iTCdrR+nI9bpTQOyxjCtjMk=";
cargoHash = "sha256-MX4McxCeUQ1stk33BSm/zITHaXqOJUwNMfMVISgfMFA=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Find and remove unused code in .nix source files";
homepage = "https://github.com/astro/deadnix";
license = lib.licenses.gpl3Only;
mainProgram = "deadnix";
maintainers = with lib.maintainers; [ astro ];
maintainers = with lib.maintainers; [
astro
diogotcorreia
];
};
})