about summary refs log tree commit diff
path: root/pkgs/tools/security/crlfuzz
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-10 17:30:15 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-01-10 17:30:15 +0100
commit45bb37cfbf1081e2529b8362f5ace08229514902 (patch)
tree9742883e75e72d7354db34956ed7c3b5b8a561b8 /pkgs/tools/security/crlfuzz
parent51894963cbdc41f0cd8f571b7bcf79437d940355 (diff)
crlfuzz: init at 1.4.0
Diffstat (limited to 'pkgs/tools/security/crlfuzz')
-rw-r--r--pkgs/tools/security/crlfuzz/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/crlfuzz/default.nix b/pkgs/tools/security/crlfuzz/default.nix
new file mode 100644
index 0000000000000..2e4b17170c659
--- /dev/null
+++ b/pkgs/tools/security/crlfuzz/default.nix
@@ -0,0 +1,27 @@
+{ buildGoModule
+, fetchFromGitHub
+, stdenv
+}:
+
+buildGoModule rec {
+  pname = "crlfuzz";
+  version = "1.4.0";
+
+  src = fetchFromGitHub {
+    owner = "dwisiswant0";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "03g7z7cczn52hvg6srp1i5xhdbpia226adrh2d54cs640063bx3m";
+  };
+
+  vendorSha256 = "19cj07f7d3ksp7lh5amdjz1s8p7xmqbwal4vp61al82n8944ify8";
+
+  doCheck = true;
+
+  meta = with stdenv.lib; {
+    description = "Tool to scan for CRLF vulnerability";
+    homepage = "https://github.com/dwisiswant0/crlfuzz";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}