unused: init at 0.2.1

This commit is contained in:
Luke Worth 2020-12-17 10:56:03 +11:00 committed by Peter Hoeg
parent e18b62a5e7
commit 160ba18da6
2 changed files with 25 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 {};