Merge pull request #127692 from rvarago/rv/feat/init-cargo-modules
cargo-modules: init at 0.5.0
This commit is contained in:
commit
67a3f33618
2 changed files with 23 additions and 0 deletions
22
pkgs/development/tools/rust/cargo-modules/default.nix
Normal file
22
pkgs/development/tools/rust/cargo-modules/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-modules";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "regexident";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0y6ag8nar85l2fh2ca41fglkzc74cv1p5szxrhk1jdqnd2qzhvjp";
|
||||
};
|
||||
|
||||
cargoSha256 = "0m5r36p57w4vw2g3hg12s38ay328swjb0qfl381xwb2xqx10g8kx";
|
||||
|
||||
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";
|
||||
license = with licenses; [ mpl20 ];
|
||||
maintainers = with maintainers; [ rvarago ];
|
||||
};
|
||||
}
|
|
@ -11918,6 +11918,7 @@ in
|
|||
cargo-make = callPackage ../development/tools/rust/cargo-make {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
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