12 rustPlatform.buildRustPackage rec {
13 pname = "cargo-information";
16 src = fetchFromGitHub {
18 repo = "cargo-information";
20 hash = "sha256-5F8O8M8cz7sdXtqGYuDIeTolovZjx2BLEBCZuBIb9YA=";
24 lockFile = ./Cargo.lock;
26 "cargo-test-macro-0.1.0" = "sha256-4u3Ium+WYBdyocuehDulRgUOR74JC6AUI2+A5xlnUGw=";
31 # Require network access
32 "--skip=cargo_information::specify_version_within_ws_and_match_with_lockfile::case"
33 "--skip=cargo_information::within_ws::case"
34 "--skip=cargo_information::within_ws_with_alternative_registry::case"
35 "--skip=cargo_information::within_ws_without_lockfile::case"
36 "--skip=cargo_information::transitive_dependency_within_ws::case"
46 ] ++ lib.optionals stdenv.isDarwin [
47 darwin.apple_sdk.frameworks.Security
51 wrapProgram $out/bin/cargo-info \
52 --prefix PATH : ${lib.makeBinPath [ rustc ]}
56 description = "Cargo subcommand to show information about crates";
57 mainProgram = "cargo-info";
58 homepage = "https://github.com/hi-rustin/cargo-information";
59 changelog = "https://github.com/hi-rustin/cargo-information/blob/v${src.rev}/CHANGELOG.md";
60 license = licenses.mit;
61 maintainers = with maintainers; [ eopb ];