mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
24 lines
523 B
Nix
24 lines
523 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wbox";
|
|
version = "5";
|
|
|
|
installPhase = ''
|
|
install -vD wbox "$out/bin/wbox"
|
|
'';
|
|
|
|
src = fetchurl {
|
|
url = "http://www.hping.org/wbox/${pname}-${version}.tar.gz";
|
|
sha256 = "06daxwbysppvbh1mwprw8fgsp6mbd3kqj7a978w7ivn8hdgdi28m";
|
|
};
|
|
|
|
meta = {
|
|
description = "Simple HTTP benchmarking tool";
|
|
homepage = "http://www.hping.org/wbox/";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "wbox";
|
|
};
|
|
}
|