94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
32 lines
787 B
Nix
32 lines
787 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-exploitdb";
|
|
version = "0.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vulsio";
|
|
repo = "go-exploitdb";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-iBOpgeL/cLoQufla0MpQs/0icRWUj1HngnAwOcKLSsQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-e+E8qcc5sRlb9clOFUrOzVwJlp3AFnZ6/lNAxaBe+hQ=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=github.com/vulsio/go-exploitdb/config.Version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool for searching Exploits from Exploit Databases, etc";
|
|
homepage = "https://github.com/vulsio/go-exploitdb";
|
|
changelog = "https://github.com/vulsio/go-exploitdb/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|