11 rustPlatform.buildRustPackage rec {
12 pname = "cargo-public-api";
16 inherit pname version;
17 hash = "sha256-vQhKvL9vRUq7WqtJ25v12DuCzO90bgXLmwu2Mm1jbig=";
20 cargoHash = "sha256-Gm72Hr+bVmNwdFAIsAatTcF9Il6JG2i6dQPu1ZQy46o=";
22 nativeBuildInputs = [ pkg-config ];
24 buildInputs = [ curl openssl ]
25 ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
31 description = "List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations";
32 mainProgram = "cargo-public-api";
33 homepage = "https://github.com/Enselic/cargo-public-api";
34 changelog = "https://github.com/Enselic/cargo-public-api/releases/tag/v${version}";
35 license = licenses.mit;
36 maintainers = with maintainers; [ matthiasbeyer ];