summary refs log tree commit diff
path: root/pkgs/tools/security/hakrawler/default.nix
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-12 21:43:05 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-01-12 21:43:05 +0100
commit93b5742b157ea6291345e0fcbb9377a1c51394d8 (patch)
tree85d9b37e6cfe038f6770995d4d5109ba342223e7 /pkgs/tools/security/hakrawler/default.nix
parent1b750c41fc0cc7cef7992a150c05d11a15bd226a (diff)
downloadnixpkgs-93b5742b157ea6291345e0fcbb9377a1c51394d8.tar
nixpkgs-93b5742b157ea6291345e0fcbb9377a1c51394d8.tar.gz
nixpkgs-93b5742b157ea6291345e0fcbb9377a1c51394d8.tar.bz2
nixpkgs-93b5742b157ea6291345e0fcbb9377a1c51394d8.tar.lz
nixpkgs-93b5742b157ea6291345e0fcbb9377a1c51394d8.tar.xz
nixpkgs-93b5742b157ea6291345e0fcbb9377a1c51394d8.tar.zst
nixpkgs-93b5742b157ea6291345e0fcbb9377a1c51394d8.zip
hakrawler: init at 20201224-e39a514
Diffstat (limited to 'pkgs/tools/security/hakrawler/default.nix')
-rw-r--r--pkgs/tools/security/hakrawler/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/security/hakrawler/default.nix b/pkgs/tools/security/hakrawler/default.nix
new file mode 100644
index 00000000000..fc5ee32bcba
--- /dev/null
+++ b/pkgs/tools/security/hakrawler/default.nix
@@ -0,0 +1,30 @@
+{ buildGoModule
+, fetchFromGitHub
+, lib
+}:
+
+buildGoModule rec {
+  pname = "hakrawler";
+  version = "20201224-${lib.strings.substring 0 7 rev}";
+  rev = "e39a514d0e179d33362ee244c017fb65cc2c12a5";
+
+  src = fetchFromGitHub {
+    owner = "hakluke";
+    repo = "hakrawler";
+    inherit rev;
+    sha256 = "0wpqfbpgnr94q5n7i4zh806k8n0phyg0ncnz43hqh4bbdh7l1y8a";
+  };
+
+  vendorSha256 = "18zs2l77ds0a3wxfqcd91h269g0agnwhginrx3j6gj30dbfls8a1";
+
+  meta = with lib; {
+    description = "Web crawler for the discovery of endpoints and assets";
+    homepage = "https://github.com/hakluke/hakrawler";
+    longDescription =  ''
+      Simple, fast web crawler designed for easy, quick discovery of endpoints
+      and assets within a web application.
+    '';
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+  };
+}