Merge pull request #138959 from figsoda/rust-code-analysis

rust-code-analysis: init at 0.0.23

authored by figsoda and committed by GitHub c5ccc212 3bf3a0ce

+30
+28
pkgs/development/tools/rust-code-analysis/default.nix
··· 1 + { lib, rustPlatform, fetchFromGitHub }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "rust-code-analysis"; 5 + version = "0.0.23"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "mozilla"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "1l9qr5rvbj542fx6g6h9p38z31kvwli39vipbmd3pvic2mpi6mzx"; 12 + }; 13 + 14 + cargoSha256 = "sha256-++d/czDJVGzY8GvBpBKpP0Rum4J4RpT95S81IRUWY2M="; 15 + 16 + cargoBuildFlags = [ "--workspace" ]; 17 + 18 + meta = with lib; { 19 + description = "Analyze and collect metrics on source code"; 20 + homepage = "https://github.com/mozilla/rust-code-analysis"; 21 + license = with licenses; [ 22 + mit # grammars 23 + mpl20 # code 24 + ]; 25 + maintainers = with maintainers; [ figsoda ]; 26 + mainProgram = "rust-code-analysis-cli"; 27 + }; 28 + }
+2
pkgs/top-level/all-packages.nix
··· 8842 8842 inherit (darwin.apple_sdk.frameworks) Security; 8843 8843 }; 8844 8844 8845 + rust-code-analysis = callPackage ../development/tools/rust-code-analysis { }; 8846 + 8845 8847 rust-petname = callPackage ../tools/text/rust-petname { }; 8846 8848 8847 8849 rustscan = callPackage ../tools/security/rustscan {