Skip to content

Commit 04cbac3

Browse files
authored
httpyac: init at 6.16.6 (#379077)
2 parents 96e6d44 + e27259d commit 04cbac3

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
lib,
3+
vscode-utils,
4+
httpyac,
5+
}:
6+
7+
let
8+
version = "6.16.6";
9+
in
10+
vscode-utils.buildVscodeMarketplaceExtension {
11+
mktplcRef = {
12+
name = "vscode-httpyac";
13+
publisher = "anweber";
14+
inherit version;
15+
hash = "sha256-GR1DX6td/a75STpfIU0UtOxpNBWCkyzecEZdDMZTy1M=";
16+
};
17+
18+
buildInputs = [ httpyac ];
19+
20+
meta = {
21+
changelog = "https://github.com/AnWeber/vscode-httpyac/releases/tag/${version}";
22+
description = "Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT, RabbitMQ and WebSocket requests directly within Visual Studio Code";
23+
downloadPage = "https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac";
24+
homepage = "https://github.com/AnWeber/vscode-httpyac/";
25+
license = lib.licenses.mit;
26+
maintainers = with lib.maintainers; [ drupol ];
27+
};
28+
}

pkgs/applications/editors/vscode/extensions/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ let
309309
};
310310
};
311311

312+
anweber.vscode-httpyac = callPackage ./anweber.vscode-httpyac { };
313+
312314
apollographql.vscode-apollo = buildVscodeMarketplaceExtension {
313315
mktplcRef = {
314316
name = "vscode-apollo";
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
lib,
3+
buildNpmPackage,
4+
fetchFromGitHub,
5+
versionCheckHook,
6+
nix-update-script,
7+
}:
8+
9+
buildNpmPackage rec {
10+
pname = "httpyac";
11+
version = "6.16.6";
12+
13+
src = fetchFromGitHub {
14+
owner = "anweber";
15+
repo = "httpyac";
16+
tag = version;
17+
hash = "sha256-JsrGoUZKo5/qjH+GKm5FBY19NE6KN7NhLpPvM8Cw97U=";
18+
};
19+
20+
npmDepsHash = "sha256-08RJ1lLIaTXi3JHGIFR44GbEqOGez7+VFQGlejZqgAI=";
21+
22+
nativeInstallCheckInputs = [
23+
versionCheckHook
24+
];
25+
versionCheckProgramArg = [ "--version" ];
26+
doInstallCheck = true;
27+
passthru = {
28+
updateScript = nix-update-script { };
29+
};
30+
31+
meta = {
32+
changelog = "https://github.com/anweber/httpyac/blob/${src.rev}/CHANGELOG.md";
33+
description = "Command Line Interface for *.http and *.rest files. Connect with http, gRPC, WebSocket and MQTT";
34+
homepage = "https://github.com/anweber/httpyac";
35+
license = lib.licenses.mit;
36+
mainProgram = "httpyac";
37+
maintainers = with lib.maintainers; [ drupol ];
38+
platforms = lib.platforms.all;
39+
};
40+
}

0 commit comments

Comments
 (0)