@@ -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+}