nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 651 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchCrate, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "rust-code-analysis"; 9 version = "0.0.25"; 10 11 src = fetchCrate { 12 pname = "rust-code-analysis-cli"; 13 inherit version; 14 hash = "sha256-/Irmtsy1PdRWQ7dTAHLZJ9M0J7oi2IiJyW6HeTIDOCs="; 15 }; 16 17 cargoHash = "sha256-HirLjKkfZfc9UmUcUF5WW7xAJuCu7ftJDH8+zTSYlxs="; 18 19 meta = { 20 description = "Analyze and collect metrics on source code"; 21 homepage = "https://github.com/mozilla/rust-code-analysis"; 22 license = with lib.licenses; [ 23 mit # grammars 24 mpl20 # code 25 ]; 26 maintainers = [ ]; 27 mainProgram = "rust-code-analysis-cli"; 28 }; 29}