Merge pull request #204812 from figsoda/cargo-modules
cargo-modules: 0.5.14 -> 0.7.0
This commit is contained in:
commit
8cdc50c434
|
@ -1,27 +1,26 @@
|
|||
{ lib, rustPlatform, fetchCrate, stdenv, CoreFoundation, CoreServices }:
|
||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-modules";
|
||||
version = "0.5.14";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-urbyWNbmj2qEO4JJ/waRXGRJ9L5KgwsRB5Wh9yib8zc=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "regexident";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-IBvSuyr3ERfPIivw6sEJSRta07Awmwd47cV1iKmvt8A=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-3OxO+j5UuPEg9xNmN+kIqpdq6fVnFpgx5xCaMNue52g=";
|
||||
cargoSha256 = "sha256-zX3lBNQVWBrVQh+02TDUqU7Xmbd7hBOzJxD7cSNTNR0=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
CoreFoundation
|
||||
CoreServices
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
# the crate version doesn't include all the files required to run tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo plugin for showing a tree-like overview of a crate's modules";
|
||||
homepage = "https://github.com/regexident/cargo-modules";
|
||||
changelog = "https://github.com/regexident/cargo-modules/blob/${version}/CHANGELOG.md";
|
||||
license = with licenses; [ mpl20 ];
|
||||
maintainers = with maintainers; [ figsoda rvarago ];
|
||||
};
|
||||
|
|
|
@ -15320,9 +15320,7 @@ with pkgs;
|
|||
cargo-make = callPackage ../development/tools/rust/cargo-make {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
cargo-modules = callPackage ../development/tools/rust/cargo-modules {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices;
|
||||
};
|
||||
cargo-modules = callPackage ../development/tools/rust/cargo-modules { };
|
||||
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue