nixpkgs/pkgs/development/tools/rust/cargo-public-api/default.nix
Matthias Beyer 3a3900f670
cargo-public-api: 0.24.0 -> 0.24.1
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-06 16:57:37 +01:00

35 lines
784 B
Nix

{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-public-api";
version = "0.24.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-xXwJ6MXnSgqIQ5IuqfDm/TUXgkppKCPG3TB7veza/H8=";
};
cargoSha256 = "sha256-1sSvK8oZspIxDcMAl2MyAQzuijAxj1kpiZf1QwwyYDs=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
# Tests fail
doCheck = false;
meta = with lib; {
description = "List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations";
homepage = "https://github.com/Enselic/cargo-public-api";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer ];
};
}