2012-12-12 05:35:29 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wbox-${version}";
|
|
|
|
version = "5";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -vD wbox "$out/bin/wbox"
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.hping.org/wbox/${name}.tar.gz";
|
|
|
|
sha256 = "06daxwbysppvbh1mwprw8fgsp6mbd3kqj7a978w7ivn8hdgdi28m";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple HTTP benchmarking tool";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://www.hping.org/wbox/;
|
2012-12-12 05:35:29 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-12-12 05:35:29 +00:00
|
|
|
};
|
|
|
|
}
|