nixpkgs/pkgs/tools/security/slowhttptest/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
549 B
Nix
Raw Normal View History

2021-03-24 12:36:21 +00:00
{ 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 ];
};
}