nixpkgs/pkgs/tools/security/sshchecker/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
741 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "sshchecker";
version = "1.0";
src = fetchFromGitHub {
owner = "lazytools";
repo = pname;
rev = "v${version}";
hash = "sha256-QMc64ynPLHQGsmDOsoChgmqmpRDyMYmmSAPwAEFBK40=";
};
vendorHash = "sha256-U5nZbo2iSKP3BnxT4lkR75QutcxZB5YLzXxT045TDaY=";
meta = with lib; {
description = "Dedicated SSH brute-forcing tool";
mainProgram = "sshchecker";
longDescription = ''
sshchecker is a fast dedicated SSH brute-forcing tool to check
SSH login on the giving IP list.
'';
homepage = "https://github.com/lazytools/sshchecker";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}