2012-12-12 06:35:29 +01: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 22:03:30 +02:00
|
|
|
homepage = http://www.hping.org/wbox/;
|
2012-12-12 06:35:29 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-12-12 06:35:29 +01:00
|
|
|
};
|
|
|
|
}
|