nixpkgs/pkgs/tools/networking/wbox/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
506 B
Nix

{ 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 = "A simple HTTP benchmarking tool";
homepage = http://www.hping.org/wbox/;
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
};
}