nixpkgs/pkgs/tools/security/fingerprintx/default.nix

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

36 lines
834 B
Nix
Raw Normal View History

2023-04-18 13:36:57 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "fingerprintx";
2024-08-09 01:58:12 +01:00
version = "1.1.14";
2023-04-18 13:36:57 +01:00
src = fetchFromGitHub {
owner = "praetorian-inc";
repo = "fingerprintx";
rev = "refs/tags/v${version}";
2024-08-09 01:58:12 +01:00
hash = "sha256-o0u6UOrdzORnTgfOlc0kSQ5diDtNHjjbwfuyvPoHHKs=";
2023-04-18 13:36:57 +01:00
};
2023-05-03 22:04:51 +01:00
vendorHash = "sha256-TMy6FwAFlo+ARvm+RiRqly0xIk4lBCXuZrtdnNSMSxw=";
2023-04-18 13:36:57 +01:00
ldflags = [
"-s"
"-w"
];
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Standalone utility for service discovery on open ports";
mainProgram = "fingerprintx";
2023-04-18 13:36:57 +01:00
homepage = "https://github.com/praetorian-inc/fingerprintx";
changelog = "https://github.com/praetorian-inc/fingerprintx/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}