forked from mirrors/nixpkgs
21f17d69f6
Build-tested on x86_64 Linux & Mac.
23 lines
506 B
Nix
23 lines
506 B
Nix
{ 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";
|
|
homepage = "http://www.hping.org/wbox/";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|