mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
3a3900f670
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
35 lines
784 B
Nix
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 ];
|
|
};
|
|
}
|
|
|