summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-11 02:11:04 +0100
committerGitHub <noreply@github.com>2021-01-11 02:11:04 +0100
commit6af32a6878ba1e5a2233e31f665abca9d6f8f40f (patch)
tree3c5106951f3d1b6bf0697f62a08e3c47388d4c22
parent2dc9bfb42f340b43e98c496df5f4133245b94a70 (diff)
parent45bb37cfbf1081e2529b8362f5ace08229514902 (diff)
downloadnixpkgs-6af32a6878ba1e5a2233e31f665abca9d6f8f40f.tar
nixpkgs-6af32a6878ba1e5a2233e31f665abca9d6f8f40f.tar.gz
nixpkgs-6af32a6878ba1e5a2233e31f665abca9d6f8f40f.tar.bz2
nixpkgs-6af32a6878ba1e5a2233e31f665abca9d6f8f40f.tar.lz
nixpkgs-6af32a6878ba1e5a2233e31f665abca9d6f8f40f.tar.xz
nixpkgs-6af32a6878ba1e5a2233e31f665abca9d6f8f40f.tar.zst
nixpkgs-6af32a6878ba1e5a2233e31f665abca9d6f8f40f.zip
Merge pull request #108963 from fabaff/crlfuzz
crlfuzz: init at 1.4.0
-rw-r--r--pkgs/tools/security/crlfuzz/default.nix27
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/security/crlfuzz/default.nix b/pkgs/tools/security/crlfuzz/default.nix
new file mode 100644
index 00000000000..2e4b17170c6
--- /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 ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 4fb71da8c45..5814fc23408 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3032,6 +3032,8 @@ in
 
   cmt = callPackage ../applications/audio/cmt {};
 
+  crlfuzz = callPackage ../tools/security/crlfuzz {};
+
   hedgedoc = callPackage ../servers/web-apps/hedgedoc { };
 
   colord = callPackage ../tools/misc/colord { };