mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #295239 from matthiasbeyer/add-openapi-tui
openapi-tui: init at 0.4.0
This commit is contained in:
commit
53d3bd4a0f
28
pkgs/by-name/op/openapi-tui/package.nix
Normal file
28
pkgs/by-name/op/openapi-tui/package.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "openapi-tui";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zaghaghi";
|
||||||
|
repo = "openapi-tui";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-7xkjlX3+/hdVN2PXoiXbouSoMLy0Qe8uMRlPHWJO5Ts=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-U8TOms8C7vV64OKKdJhMAoOha9s2lBqfBWU7pyZ0h/s=";
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user