about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/tcping-go/default.nix
blob: 1502f8a16aef7134345a14cd69cf54fdf94f7424 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule {
  pname = "tcping-go";
  version = "unstable-2022-05-28";

  src = fetchFromGitHub {
    owner = "cloverstd";
    repo = "tcping";
    rev = "83f644c761819f7c4386f0645cd0a337eccfc62e";
    sha256 = "sha256-GSkNfaGMJbBqDg8DKhDtLAuUg1yF3FbBdxcf4oG50rI=";
  };

  vendorHash = "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 ];
  };
}