nix-check-deps: init at 0-unstable-2025-04-09
This commit is contained in:
27
pkgs/by-name/nix-check-deps/package.nix
Normal file
27
pkgs/by-name/nix-check-deps/package.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "nix-check-deps";
|
||||
version = "0-unstable-2025-04-09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "LordGrimmauld";
|
||||
repo = "nix-check-deps";
|
||||
rev = "263701905ec40a19c52d23d0fdceb1126e20c99e";
|
||||
hash = "sha256-RaPk8Cd5ovskxFFvFd0+auIopCo1YHyH+6199qK+d18=";
|
||||
};
|
||||
cargoHash = "sha256-1fazKGz3PtyTvcIW+PY/LwYc6JlErSO9ZFisTUXJdhc=";
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version" "branch" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "scan nix packages for unused buildInputs";
|
||||
homepage = "https://github.com/LordGrimmauld/nix-check-deps";
|
||||
maintainers = with lib.maintainers; [ colinsane ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user