14 rustPlatform.buildRustPackage rec {
15 pname = "cargo-information";
18 src = fetchFromGitHub {
20 repo = "cargo-information";
22 hash = "sha256-gu1t0jMBJ+mJIVMGy1JlabzcOT4lbmTvO/VQfxLLsWM=";
26 lockFile = ./Cargo.lock;
28 "cargo-test-macro-0.2.1" = "sha256-3sergm2T4VXT41ERCLL7p9+pJwIKzT54qdla8V58Psk=";
33 # Require network access
34 "--skip=cargo_information::specify_version_within_ws_and_match_with_lockfile::case"
35 "--skip=cargo_information::within_ws::case"
36 "--skip=cargo_information::within_ws_with_alternative_registry::case"
37 "--skip=cargo_information::within_ws_without_lockfile::case"
38 "--skip=cargo_information::transitive_dependency_within_ws::case"
51 ++ lib.optionals stdenv.hostPlatform.isDarwin [
52 darwin.apple_sdk.frameworks.Security
56 wrapProgram $out/bin/cargo-info \
57 --prefix PATH : ${lib.makeBinPath [ rustc ]}
61 description = "Cargo subcommand to show information about crates";
62 mainProgram = "cargo-info";
63 homepage = "https://github.com/hi-rustin/cargo-information";
64 changelog = "https://github.com/hi-rustin/cargo-information/blob/v${src.rev}/CHANGELOG.md";
65 license = licenses.mit;
66 maintainers = with maintainers; [ eopb ];