Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
710 B
Nix
Raw Permalink Normal View History

2023-10-14 09:59:44 +08:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
pname = "wait4x";
2025-07-31 16:13:22 +00:00
version = "3.5.1";
2023-10-14 09:59:44 +08:00
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "wait4x";
2025-05-25 02:53:02 +02:00
repo = "wait4x";
rev = "v${version}";
2025-07-31 16:13:22 +00:00
hash = "sha256-VAt61k2eHQwyLSsvbWxe7jJ/Wyj4U4O2+LzCsoP/Yq4=";
2023-10-14 09:59:44 +08:00
};
2025-07-31 16:13:22 +00:00
vendorHash = "sha256-KJOKLTjwwgu2MFNIRDk8eeSVnZyjO9dfVyWrF5vqj9g=";
2023-10-14 09:59:44 +08:00
# Tests make network access
doCheck = false;
meta = with lib; {
description = "Allows you to wait for a port or a service to enter the requested state";
homepage = "https://github.com/wait4x/wait4x";
2023-10-14 09:59:44 +08:00
license = licenses.asl20;
maintainers = with maintainers; [ jfvillablanca ];
mainProgram = "wait4x";
};
}