about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/slowhttptest/default.nix
blob: 5dce5d5439ac9c403ae8bbbc1f8a824f28992898 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 ];
  };
}