depot/pkgs/by-name/te/terrapin-scanner/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
682 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "terrapin-scanner";
version = "1.1.3";
src = fetchFromGitHub {
owner = "RUB-NDS";
repo = "Terrapin-Scanner";
rev = "refs/tags/v${version}";
hash = "sha256-PmKfHvad+YAwLcdoiDSOBMQFgOKzJ6NbGbt4v570gyI=";
};
vendorHash = "sha256-x3fzs/TNGRo+u+RufXzzjDCeQayEZIKlgokdEQJRNaI=";
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";
};
}