about summary refs log tree commit diff
path: root/pkgs/by-name/wa
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-10-18 12:44:47 +0200
committerGitHub <noreply@github.com>2023-10-18 12:44:47 +0200
commit1ba96f479e12393aae53949238bf5a4a567f2992 (patch)
treeb0594b651ae94d187388fdc3df269e3b72814009 /pkgs/by-name/wa
parent84fc1cdc922b7f029272114beee1e7a18456ecbe (diff)
parent87c3e377e13240707afbfe413f9eebbd3734fd98 (diff)
Merge pull request #260978 from jfvillablanca/wait4x
wait4x: init at 2.13.0
Diffstat (limited to 'pkgs/by-name/wa')
-rw-r--r--pkgs/by-name/wa/wait4x/package.nix31
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";
+  };
+}