depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-public-api/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

34 lines
784 B
Nix

{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-public-api";
version = "0.12.4";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-URCKsI7q0/b8KkCooKeYr342m7C8ukJJITRDgOUmcEM=";
};
cargoSha256 = "sha256-qXJeNbGvC6zoxdn2QmApw1m7gn4CI1eUC3Cqhrn8dpU=";
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 ];
};
}