nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 927 B view raw
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5 versionCheckHook, 6 nix-update-script, 7}: 8 9buildNpmPackage rec { 10 pname = "httpyac"; 11 version = "6.16.7"; 12 13 src = fetchFromGitHub { 14 owner = "anweber"; 15 repo = "httpyac"; 16 tag = version; 17 hash = "sha256-6qhKOb2AJrDhZLRU6vrDfuW9KED+5TLf4hHH/0iADeA="; 18 }; 19 20 npmDepsHash = "sha256-X3Yz+W7lijOLP+tEuO0JOpeOMOGdUYN6OpxPYHwFQEo="; 21 22 nativeInstallCheckInputs = [ 23 versionCheckHook 24 ]; 25 doInstallCheck = true; 26 passthru = { 27 updateScript = nix-update-script { }; 28 }; 29 30 meta = { 31 changelog = "https://github.com/anweber/httpyac/blob/${src.rev}/CHANGELOG.md"; 32 description = "Command Line Interface for *.http and *.rest files. Connect with http, gRPC, WebSocket and MQTT"; 33 homepage = "https://github.com/anweber/httpyac"; 34 license = lib.licenses.mit; 35 mainProgram = "httpyac"; 36 maintainers = [ ]; 37 platforms = lib.platforms.all; 38 }; 39}