nixpkgs/pkgs/by-name/wa/wait4x/package.nix

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

32 lines
710 B
Nix
Raw Normal View History

2023-10-14 01:59:44 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
let
pname = "wait4x";
2024-09-13 07:26:18 +00:00
version = "2.14.2";
2023-10-14 01:59:44 +00:00
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "atkrad";
repo = pname;
rev = "v${version}";
2024-09-13 07:26:18 +00:00
hash = "sha256-fNPZ/qgAn4odd5iWnDK1RWPxeBhS/l4ffHLFB27SAoM=";
2023-10-14 01:59:44 +00:00
};
2024-09-13 07:26:18 +00:00
vendorHash = "sha256-Eio6CoYaChG59rHL4tfl7dNWliD7ksRyhoCPxMvMmrQ=";
2023-10-14 01:59:44 +00:00
# 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";
};
}