httpyac: init at 6.16.6 (#379077)

This commit is contained in:
Pol Dellaiera
2025-02-03 14:13:06 +01:00
committed by GitHub
3 changed files with 70 additions and 0 deletions
@@ -0,0 +1,28 @@
{
lib,
vscode-utils,
httpyac,
}:
let
version = "6.16.6";
in
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-httpyac";
publisher = "anweber";
inherit version;
hash = "sha256-GR1DX6td/a75STpfIU0UtOxpNBWCkyzecEZdDMZTy1M=";
};
buildInputs = [ httpyac ];
meta = {
changelog = "https://github.com/AnWeber/vscode-httpyac/releases/tag/${version}";
description = "Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT, RabbitMQ and WebSocket requests directly within Visual Studio Code";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac";
homepage = "https://github.com/AnWeber/vscode-httpyac/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
};
}
@@ -309,6 +309,8 @@ let
};
};
anweber.vscode-httpyac = callPackage ./anweber.vscode-httpyac { };
apollographql.vscode-apollo = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-apollo";
+40
View File
@@ -0,0 +1,40 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
buildNpmPackage rec {
pname = "httpyac";
version = "6.16.6";
src = fetchFromGitHub {
owner = "anweber";
repo = "httpyac";
tag = version;
hash = "sha256-JsrGoUZKo5/qjH+GKm5FBY19NE6KN7NhLpPvM8Cw97U=";
};
npmDepsHash = "sha256-08RJ1lLIaTXi3JHGIFR44GbEqOGez7+VFQGlejZqgAI=";
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
changelog = "https://github.com/anweber/httpyac/blob/${src.rev}/CHANGELOG.md";
description = "Command Line Interface for *.http and *.rest files. Connect with http, gRPC, WebSocket and MQTT";
homepage = "https://github.com/anweber/httpyac";
license = lib.licenses.mit;
mainProgram = "httpyac";
maintainers = with lib.maintainers; [ drupol ];
platforms = lib.platforms.all;
};
}