2023-08-22 20:05:09 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "xcrawl3r";
|
2024-10-23 06:41:50 +00:00
|
|
|
version = "0.2.0";
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hueristiq";
|
|
|
|
repo = "xcrawl3r";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-10-23 06:41:50 +00:00
|
|
|
hash = "sha256-W1cvSvRnDGFp4br8s/nL+owIGWTJ1bVX6kvmeTLUuuI=";
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
|
|
|
|
2024-10-23 06:41:50 +00:00
|
|
|
vendorHash = "sha256-fHdtqjFmT+8cmy2SxjjBvw5Rct7lA2ksGVmm/9ncbRI=";
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI utility to recursively crawl webpages";
|
2023-08-22 20:05:09 +00:00
|
|
|
homepage = "https://github.com/hueristiq/xcrawl3r";
|
|
|
|
changelog = "https://github.com/hueristiq/xcrawl3r/releases/tag/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "xcrawl3r";
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
|
|
|
}
|