Merge pull request #305714 from aktaboot/update-cargo-modules
cargo-modules: 0.11.2 -> 0.15.5
This commit is contained in:
commit
1c6685f95e
@ -2,21 +2,44 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-modules";
|
||||
version = "0.11.2";
|
||||
version = "0.15.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "regexident";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-dfeY9YylHF1QHNv7yTNYxUBxzcb276H80WL6JgXR/KY=";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+jHanZ2/BIgNLUpMlibfUAVfA6QTPlavRci2YD1w3zE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-elzLO2YNDsD9FjCW0+2pUWgcJzOvzK+lyZBxrjVXoA8=";
|
||||
cargoHash = "sha256-umaKVs1fFiUKz2HIJuB+7skSwRQbG12dl9eD+et42go=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
"--skip=cfg_test::smoke"
|
||||
"--skip=colors::ansi::smoke"
|
||||
"--skip=colors::plain::smoke"
|
||||
"--skip=colors::truecolor::smoke"
|
||||
"--skip=focus_on::glob_path::smoke"
|
||||
"--skip=focus_on::self_path::smoke"
|
||||
"--skip=focus_on::simple_path::smoke"
|
||||
"--skip=focus_on::use_tree::smoke"
|
||||
"--skip=functions::function_body"
|
||||
"--skip=functions::function_inputs"
|
||||
"--skip=functions::function_outputs"
|
||||
"--skip=max_depth::depth_2::smoke"
|
||||
"--skip=selection::no_fns::smoke"
|
||||
"--skip=selection::no_modules::smoke"
|
||||
"--skip=selection::no_traits::smoke"
|
||||
"--skip=selection::no_types::smoke"
|
||||
"--skip=fields::enum_fields"
|
||||
"--skip=fields::struct_fields"
|
||||
"--skip=fields::tuple_fields"
|
||||
"--skip=fields::union_fields"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo plugin for showing a tree-like overview of a crate's modules";
|
||||
mainProgram = "cargo-modules";
|
||||
|
Loading…
Reference in New Issue
Block a user