depot/third_party/nixpkgs/pkgs/tools/security/slowhttptest/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

26 lines
548 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, openssl
}:
stdenv.mkDerivation rec {
pname = "slowhttptest";
version = "1.9.0";
src = fetchFromGitHub {
owner = "shekyan";
repo = pname;
rev = "v${version}";
sha256 = "sha256-rIvd3LykVAbDXtFWZ1EQ+QKeALzqwK6pq7In0BsCOFo=";
};
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 ];
};
}