2024-03-12 07:26:14 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "openapi-tui";
|
2024-03-16 01:32:57 +00:00
|
|
|
version = "0.5.0";
|
2024-03-12 07:26:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zaghaghi";
|
|
|
|
repo = "openapi-tui";
|
|
|
|
rev = version;
|
2024-03-16 01:32:57 +00:00
|
|
|
hash = "sha256-flxQ5+nLacQAkrxJafw9D3iXYTFpHcmTshEySmFJ0Cc=";
|
2024-03-12 07:26:14 +00:00
|
|
|
};
|
|
|
|
|
2024-03-16 01:32:57 +00:00
|
|
|
cargoHash = "sha256-vfEDbUrIXc498QnMJJlMGyTUDvlHgquB5GpWTe7yCvM=";
|
2024-03-12 07:26:14 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal UI to list, browse and run APIs defined with openapi spec";
|
|
|
|
homepage = "https://github.com/zaghaghi/openapi-tui";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
mainProgram = "openapi-tui";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|