mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
23 lines
616 B
Nix
23 lines
616 B
Nix
|
{ lib, fetchFromGitHub, buildGoModule }:
|
||
|
|
||
|
buildGoModule {
|
||
|
pname = "tcping-go";
|
||
|
version = "unstable-2022-05-28";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "cloverstd";
|
||
|
repo = "tcping";
|
||
|
rev = "83f644c761819f7c4386f0645cd0a337eccfc62e";
|
||
|
sha256 = "sha256-GSkNfaGMJbBqDg8DKhDtLAuUg1yF3FbBdxcf4oG50rI=";
|
||
|
};
|
||
|
|
||
|
vendorSha256 = "sha256-Q+aFgi7GCAn3AxDuGtRG4DdPhI7gQKEo7A9iu1YcTsQ=";
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Ping over TCP instead of ICMP, written in Go";
|
||
|
homepage = "https://github.com/cloverstd/tcping";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ bcdarwin ];
|
||
|
};
|
||
|
}
|