openapi-tui: 0.5.0 -> 0.9.4

Required to build with Rust 1.80.

Link: https://github.com/rust-lang/rust/issues/127343
Closes: https://github.com/NixOS/nixpkgs/pull/298320
This commit is contained in:
Alyssa Ross 2024-08-09 15:27:41 +02:00
parent 2503ce7ec6
commit 8ee7319f74
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -1,20 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "openapi-tui";
version = "0.5.0";
version = "0.9.4";
src = fetchFromGitHub {
owner = "zaghaghi";
repo = "openapi-tui";
rev = version;
hash = "sha256-flxQ5+nLacQAkrxJafw9D3iXYTFpHcmTshEySmFJ0Cc=";
hash = "sha256-y8A43FV3PfYHaMMHE3uGRBaftga/pVSivCfV4iwUROA=";
};
cargoHash = "sha256-vfEDbUrIXc498QnMJJlMGyTUDvlHgquB5GpWTe7yCvM=";
cargoHash = "sha256-I1eTJDtQM9WKluOZJGfQT4Wn9TFyTu6ZcPFuh8wZIWI=";
OPENSSL_NO_VENDOR = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "Terminal UI to list, browse and run APIs defined with openapi spec";
@ -24,4 +31,3 @@ rustPlatform.buildRustPackage rec {
mainProgram = "openapi-tui";
};
}