From b6001ab3ab7259afa21015283b56f005448daa94 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 19 Aug 2023 21:37:07 +0200 Subject: [PATCH] xcrawl3r: init at 0.1.0 --- pkgs/tools/security/xcrawl3r/default.nix | 31 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/security/xcrawl3r/default.nix diff --git a/pkgs/tools/security/xcrawl3r/default.nix b/pkgs/tools/security/xcrawl3r/default.nix new file mode 100644 index 000000000000..c7b63c238be1 --- /dev/null +++ b/pkgs/tools/security/xcrawl3r/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "xcrawl3r"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "hueristiq"; + repo = "xcrawl3r"; + rev = "refs/tags/${version}"; + hash = "sha256-K7UuWsteI8mEAGOF/g/EbT/Ch6sbmKhiiYB3npdDmFk="; + }; + + vendorHash = "sha256-/yBSrZdlVMZgcKcONBSq7C5IFC30TJL0z6FZRXm+HUs="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "A CLI utility to recursively crawl webpages"; + homepage = "https://github.com/hueristiq/xcrawl3r"; + changelog = "https://github.com/hueristiq/xcrawl3r/releases/tag/${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f3a2e7ac1389..7f743aab59e4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14585,6 +14585,8 @@ with pkgs; xspim = callPackage ../development/tools/misc/xspim { }; + xcrawl3r = callPackage ../tools/security/xcrawl3r { }; + xcruiser = callPackage ../applications/misc/xcruiser { }; xwallpaper = callPackage ../tools/X11/xwallpaper { };