cargo-shear: init at 0.0.24
This commit is contained in:
parent
1a0255c9b6
commit
606cd8949c
1 changed files with 24 additions and 0 deletions
24
pkgs/by-name/ca/cargo-shear/package.nix
Normal file
24
pkgs/by-name/ca/cargo-shear/package.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ fetchFromGitHub, lib, rustPlatform }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cargo-shear";
|
||||||
|
version = "0.0.24";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Boshen";
|
||||||
|
repo = "cargo-shear";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-7eBFDmeFOXqZhNE4RDlIq991xEoCGL6XLMmUQuLJvrE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-DQjLW6NtUPERT82zIlrGRk3FffU/EfLBMgAeFfFdDxE=";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Detect and remove unused dependencies from Cargo.toml";
|
||||||
|
mainProgram = "cargo-shear";
|
||||||
|
homepage = "https://github.com/Boshen/cargo-shear";
|
||||||
|
changelog = "https://github.com/Boshen/cargo-shear/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ uncenter ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue