2024-09-26 11:04:55 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
2023-11-16 04:20:00 +00:00
|
|
|
}:
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gowitness";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "3.0.4";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sensepost";
|
2023-11-16 04:20:00 +00:00
|
|
|
repo = "gowitness";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-10-04 16:56:33 +00:00
|
|
|
hash = "sha256-ygnYqX8il0nDvF5+jd52CypmHH8iiLMlOZWdoTsR0ig=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
vendorHash = "sha256-2hG+93LzJ+kUVCOXFGk83Asvn7zLWq2BSqrq+eOJhQ0=";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Web screenshot utility";
|
|
|
|
homepage = "https://github.com/sensepost/gowitness";
|
2023-11-16 04:20:00 +00:00
|
|
|
changelog = "https://github.com/sensepost/gowitness/releases/tag/${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-09-26 11:04:55 +00:00
|
|
|
mainProgram = "gowitness";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|