unused: init at 0.2.1
This commit is contained in:
parent
e18b62a5e7
commit
160ba18da6
23
pkgs/development/tools/misc/unused/default.nix
Normal file
23
pkgs/development/tools/misc/unused/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, cmake }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "unused";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "unused-code";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "06r6m7k570rdm9szghnp3g4r6ij0vp8apfanqzzxv2hd7gf8v62b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cargoSha256 = "1c0gj2wp0nydv0binxj3ikm5sm6y5z3pklp5b06dgvq02licz57a";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool to identify potentially unused code";
|
||||
homepage = "https://unused.codes";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.lrworth ];
|
||||
};
|
||||
}
|
@ -12228,6 +12228,8 @@ in
|
||||
|
||||
universal-ctags = callPackage ../development/tools/misc/universal-ctags { };
|
||||
|
||||
unused = callPackage ../development/tools/misc/unused { };
|
||||
|
||||
vagrant = callPackage ../development/tools/vagrant {};
|
||||
|
||||
vala-language-server = callPackage ../development/tools/vala-language-server {};
|
||||
|
Loading…
Reference in New Issue
Block a user