Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "fingerprintx";
8 version = "1.1.9";
9
10 src = fetchFromGitHub {
11 owner = "praetorian-inc";
12 repo = "fingerprintx";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-XWZzLVY+Vw8x8anFQ+P0FVbHgCuMTvV+fEJ2OmDdkQU=";
15 };
16
17 vendorHash = "sha256-TMy6FwAFlo+ARvm+RiRqly0xIk4lBCXuZrtdnNSMSxw=";
18
19 ldflags = [
20 "-s"
21 "-w"
22 ];
23
24 # Tests require network access
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Standalone utility for service discovery on open ports";
29 homepage = "https://github.com/praetorian-inc/fingerprintx";
30 changelog = "https://github.com/praetorian-inc/fingerprintx/releases/tag/v${version}";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ fab ];
33 };
34}