deadnix: init at 0.1.3

This commit is contained in:
Astro 2022-01-14 20:26:08 +01:00
parent 5335212bf4
commit b24a2be269
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "deadnix";
version = "0.1.3";
src = fetchFromGitHub {
owner = "astro";
repo = "deadnix";
rev = "v${version}";
sha256 = "0ddnxmcr9fncgrqg1vvqcbx49c3lccdpb40h9rvzyldzy9xynzi7";
};
cargoSha256 = "19vgjv70vxgxssrxvdjwfl16bwdbdrpb2wzb3fg9vlz4fhbj2lv9";
meta = with lib; {
description = "Find and remove unused code in .nix source files";
homepage = "https://github.com/astro/deadnix";
license = licenses.gpl3Only;
maintainers = with maintainers; [ astro ];
};
}

View file

@ -315,6 +315,8 @@ with pkgs;
deadcode = callPackage ../development/tools/deadcode { };
deadnix = callPackage ../development/tools/deadnix { };
each = callPackage ../tools/text/each { };
eclipse-mat = callPackage ../development/tools/eclipse-mat { };