Merge pull request #275526 from fabaff/terrapin-scanner
terrapin-scanner: init at 1.0.3
This commit is contained in:
commit
7983cf96f4
1 changed files with 31 additions and 0 deletions
31
pkgs/by-name/te/terrapin-scanner/package.nix
Normal file
31
pkgs/by-name/te/terrapin-scanner/package.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "terrapin-scanner";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RUB-NDS";
|
||||
repo = "Terrapin-Scanner";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-snKEIWhFj+uG/jY1nbq/8T0y2FcAdkIUTf9J2Lz6owo=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue