mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
swagger-cli: init at 4.0.4
This commit is contained in:
parent
4ff3a5795b
commit
0c6a3aa6b7
30
pkgs/tools/networking/swagger-cli/default.nix
Normal file
30
pkgs/tools/networking/swagger-cli/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, buildNpmPackage
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "swagger-cli";
|
||||
version = "4.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "APIDevTools";
|
||||
repo = "swagger-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-WgzfSd57vRwa1HrSgNxD0F5ckczBkOaVmrEZ9tMAcRA=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-go9eYGCZmbwRArHVTVa6mxL+kjvBcrLxKw2iVv0a5hY=";
|
||||
|
||||
buildPhase = ''
|
||||
npm run bump
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Swagger 2.0 and OpenAPI 3.0 command-line tool";
|
||||
homepage = "https://apitools.dev/swagger-cli/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
};
|
||||
}
|
@ -12802,6 +12802,8 @@ with pkgs;
|
||||
|
||||
surfraw = callPackage ../tools/networking/surfraw { };
|
||||
|
||||
swagger-cli = callPackage ../tools/networking/swagger-cli { };
|
||||
|
||||
swagger-codegen = callPackage ../tools/networking/swagger-codegen { };
|
||||
|
||||
swagger-codegen3 = callPackage ../tools/networking/swagger-codegen3 { };
|
||||
|
Loading…
Reference in New Issue
Block a user