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