git.iko.soy/typeable/nixpkgs
on master help sign in
cargo-modules: init at 0.5.0

This patch includes a cargo plugin to generate tree-like overviews of a crate's modules. Co-authored-by: legendofmiracles <30902201+legendofmiracles@users.noreply.github.com>

commit8dbab2753bebaedad1dc3411b5b2eec006f08b63 authorRafael Varago <varago.rafael@gmail.com> dateMon 21 Jun 2021, 18:09 (5 years ago) parent14afd6e
2 files changed+23
pkgs/development/tools/rust/cargo-modules/default.nix+22 pkgs/top-level/all-packages.nix+1
pkgs/development/tools/rust/cargo-modules/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ lib, rustPlatform, fetchFromGitHub }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "cargo-modules";
5+ version = "0.5.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "regexident";
9+ repo = pname;
10+ rev = version;
11+ sha256 = "0y6ag8nar85l2fh2ca41fglkzc74cv1p5szxrhk1jdqnd2qzhvjp";
12+ };
13+
14+ cargoSha256 = "0m5r36p57w4vw2g3hg12s38ay328swjb0qfl381xwb2xqx10g8kx";
15+
16+ meta = with lib; {
17+ description = "A cargo plugin for showing a tree-like overview of a crate's modules";
18+ homepage = "https://github.com/regexident/cargo-modules";
19+ license = with licenses; [ mpl20 ];
20+ maintainers = with maintainers; [ rvarago ];
21+ };
22+}
pkgs/top-level/all-packages.nix+1
@@ -11916,6 +11916,7 @@ in
1191611916 cargo-make = callPackage ../development/tools/rust/cargo-make {
1191711917 inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
1191811918 };
11919+ cargo-modules = callPackage ../development/tools/rust/cargo-modules { };
1191911920 cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
1192011921 inherit (darwin.apple_sdk.frameworks) Security;
1192111922 };