summary refs log tree commit diff
path: root/pkgs/tools/security/slowhttptest
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-03-24 13:36:21 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-03-24 13:36:21 +0100
commit31439b83161bae0c8aa2ba6a908eb021c5c9c810 (patch)
tree8083ad104a49baaa6ff467a21065c9d51f07555d /pkgs/tools/security/slowhttptest
parent5faa02940a9cdd002f7bcf1ab85f7e4cba1077ba (diff)
downloadnixpkgs-31439b83161bae0c8aa2ba6a908eb021c5c9c810.tar
nixpkgs-31439b83161bae0c8aa2ba6a908eb021c5c9c810.tar.gz
nixpkgs-31439b83161bae0c8aa2ba6a908eb021c5c9c810.tar.bz2
nixpkgs-31439b83161bae0c8aa2ba6a908eb021c5c9c810.tar.lz
nixpkgs-31439b83161bae0c8aa2ba6a908eb021c5c9c810.tar.xz
nixpkgs-31439b83161bae0c8aa2ba6a908eb021c5c9c810.tar.zst
nixpkgs-31439b83161bae0c8aa2ba6a908eb021c5c9c810.zip
slowhttptest: init at 1.8.2
Diffstat (limited to 'pkgs/tools/security/slowhttptest')
-rw-r--r--pkgs/tools/security/slowhttptest/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/slowhttptest/default.nix b/pkgs/tools/security/slowhttptest/default.nix
new file mode 100644
index 00000000000..5dce5d5439a
--- /dev/null
+++ b/pkgs/tools/security/slowhttptest/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, openssl
+}:
+
+stdenv.mkDerivation rec {
+  pname = "slowhttptest";
+  version = "1.8.2";
+
+  src = fetchFromGitHub {
+    owner = "shekyan";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1xv2j3hl4zj0s2cxcsvlwgridh9ap4g84g7c4918d03id15wydcx";
+  };
+
+  buildInputs = [ openssl ];
+
+  meta = with lib; {
+    description = "Application Layer DoS attack simulator";
+    homepage = "https://github.com/shekyan/slowhttptest";
+    license = with licenses; [ asl20 ];
+    maintainers = with maintainers; [ fab ];
+  };
+}