From 78f42f984de3d12a00699fb2cc1a9a314ef1a13e Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 13 May 2025 01:47:23 +0000 Subject: [PATCH] nix-check-deps: init at 0-unstable-2025-04-09 --- pkgs/by-name/nix-check-deps/package.nix | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/nix-check-deps/package.nix diff --git a/pkgs/by-name/nix-check-deps/package.nix b/pkgs/by-name/nix-check-deps/package.nix new file mode 100644 index 000000000..13342fd14 --- /dev/null +++ b/pkgs/by-name/nix-check-deps/package.nix @@ -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 ]; + }; +}