mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
Merge pull request #247533 from figsoda/unused
cargo-unused-features: 0.1.7 -> 0.2.0
This commit is contained in:
commit
1f64cd59a4
@ -3,6 +3,7 @@
|
|||||||
, fetchCrate
|
, fetchCrate
|
||||||
, curl
|
, curl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, libgit2_1_5
|
||||||
, openssl
|
, openssl
|
||||||
, stdenv
|
, stdenv
|
||||||
, darwin
|
, darwin
|
||||||
@ -10,14 +11,14 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-unused-features";
|
pname = "cargo-unused-features";
|
||||||
version = "0.1.7";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-PdSR2nZbRzV2Kg2LNEpI7/Us+r8Gy6XLdUzMLei5r8c=";
|
hash = "sha256-gdwIbbQDw/DgBV9zY2Rk/oWjPv1SS/+oFnocsMo2Axo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-Y0U5Qzj+S7zoXWemcSfMn0YS7wCAPj+ER0jao+f2B28=";
|
cargoHash = "sha256-K9I7Eg43BS2SKq5zZ3eZrMkmuHAx09OX240sH0eGs+k=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
curl.dev
|
curl.dev
|
||||||
@ -26,11 +27,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
curl
|
curl
|
||||||
|
libgit2_1_5
|
||||||
openssl
|
openssl
|
||||||
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
CoreFoundation
|
darwin.apple_sdk.frameworks.CoreFoundation
|
||||||
Security
|
darwin.apple_sdk.frameworks.Security
|
||||||
]);
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A tool to find potential unused enabled feature flags and prune them";
|
description = "A tool to find potential unused enabled feature flags and prune them";
|
||||||
|
Loading…
Reference in New Issue
Block a user