diff options
author | jfvillablanca <31008330+jfvillablanca@users.noreply.github.com> | 2023-10-14 09:59:44 +0800 |
---|---|---|
committer | jfvillablanca <31008330+jfvillablanca@users.noreply.github.com> | 2023-10-18 08:40:08 +0800 |
commit | 87c3e377e13240707afbfe413f9eebbd3734fd98 (patch) | |
tree | a165713ff19971d44e3c63bf90aa9ca5cb680d0b /pkgs/by-name | |
parent | aead6ea9b60386c04da4ab4b43938456ddeeae45 (diff) |
wait4x: init at 2.13.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/wa/wait4x/package.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/wa/wait4x/package.nix b/pkgs/by-name/wa/wait4x/package.nix new file mode 100644 index 0000000000000..9daad7d2a198f --- /dev/null +++ b/pkgs/by-name/wa/wait4x/package.nix @@ -0,0 +1,31 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: +let + pname = "wait4x"; + version = "2.13.0"; +in +buildGoModule { + inherit pname version; + + src = fetchFromGitHub { + owner = "atkrad"; + repo = pname; + rev = "v${version}"; + hash = "sha256-vhYWt1vRL1iTtdZRhk3HsBnmhcp4hieN+8vsyQS4hpo="; + }; + + vendorHash = "sha256-WY8FPRjjAFcDLMbU22pL3rFTw7fBPwCbXJDjhHDI4Kw="; + + # Tests make network access + doCheck = false; + + meta = with lib; { + description = "Wait4X allows you to wait for a port or a service to enter the requested state"; + homepage = "https://github.com/atkrad/wait4x"; + license = licenses.asl20; + maintainers = with maintainers; [ jfvillablanca ]; + mainProgram = "wait4x"; + }; +} |