depot/third_party/nixpkgs/pkgs/by-name/te/terrapin-scanner/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
682 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "terrapin-scanner";
version = "1.1.0";
src = fetchFromGitHub {
owner = "RUB-NDS";
repo = "Terrapin-Scanner";
rev = "refs/tags/v${version}";
hash = "sha256-d0aAs9dT74YQkzDQnmeEo+p/RnPHeG2+SgCCF/t1F+w=";
};
vendorHash = "sha256-skYMlL9SbBoC89tFCTIzyRViEJaviXENASEqr6zSvoo=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Vulnerability scanner for the Terrapin attack";
homepage = "https://github.com/RUB-NDS/Terrapin-Scanner";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "Terrapin-Scanner";
};
}