nixpkgs/pkgs/by-name/te/terrapin-scanner/package.nix

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

32 lines
682 B
Nix
Raw Normal View History

{ 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=";
};
2024-01-10 19:48:08 +00:00
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";
};
}