bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
31 lines
710 B
Nix
31 lines
710 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
let
|
|
pname = "wait4x";
|
|
version = "2.14.1";
|
|
in
|
|
buildGoModule {
|
|
inherit pname version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atkrad";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-7dm1KERBYkASuRWlCbpbLuHVc4uCMPWbSwegjZ8LwVU=";
|
|
};
|
|
|
|
vendorHash = "sha256-CYE5wvBgNLYzCiibd9SWubIQ+22nffr4jpwgwSxhtGo=";
|
|
|
|
# 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";
|
|
};
|
|
}
|