Skip to content

Commit

Permalink
cargo-shear: init at 0.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Apr 11, 2024
1 parent b769508 commit 3eedc2a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/by-name/ca/cargo-shear/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ fetchFromGitHub, lib, rustPlatform }:

rustPlatform.buildRustPackage rec {
pname = "cargo-shear";
version = "0.0.24";

src = fetchFromGitHub {
owner = "Boshen";
repo = pname;
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/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ uncenter ];
};
}

0 comments on commit 3eedc2a

Please sign in to comment.