diff options
author | William A. Kennington III <william@wkennington.com> | 2014-10-04 17:23:00 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-10-04 17:23:06 -0700 |
commit | 9e5825ba8ec2c515a2b54b6f1e81362bef3d3833 (patch) | |
tree | c0b918012dcb4e69d9c6890563575f35b60aa9ec /pkgs/tools/networking/iperf | |
parent | ce61353a9f818ec12eca5a771f1974d2a7210bf4 (diff) | |
download | nixpkgs-9e5825ba8ec2c515a2b54b6f1e81362bef3d3833.tar nixpkgs-9e5825ba8ec2c515a2b54b6f1e81362bef3d3833.tar.gz nixpkgs-9e5825ba8ec2c515a2b54b6f1e81362bef3d3833.tar.bz2 nixpkgs-9e5825ba8ec2c515a2b54b6f1e81362bef3d3833.tar.lz nixpkgs-9e5825ba8ec2c515a2b54b6f1e81362bef3d3833.tar.xz nixpkgs-9e5825ba8ec2c515a2b54b6f1e81362bef3d3833.tar.zst nixpkgs-9e5825ba8ec2c515a2b54b6f1e81362bef3d3833.zip |
iperf: Add major version 3
Diffstat (limited to 'pkgs/tools/networking/iperf')
-rw-r--r-- | pkgs/tools/networking/iperf/2.nix (renamed from pkgs/tools/networking/iperf/default.nix) | 0 | ||||
-rw-r--r-- | pkgs/tools/networking/iperf/3.nix | 22 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/networking/iperf/default.nix b/pkgs/tools/networking/iperf/2.nix index 33d8ee2fd63..33d8ee2fd63 100644 --- a/pkgs/tools/networking/iperf/default.nix +++ b/pkgs/tools/networking/iperf/2.nix diff --git a/pkgs/tools/networking/iperf/3.nix b/pkgs/tools/networking/iperf/3.nix new file mode 100644 index 00000000000..3a9d49f8330 --- /dev/null +++ b/pkgs/tools/networking/iperf/3.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "iperf-3.0.8"; + + src = fetchurl { + url = "http://downloads.es.net/pub/iperf/${name}.tar.gz"; + sha256 = "81b8d91159862896c57f9b90a006e8b5dc22bd94175d97bd0db50b0ae2c1a78e"; + }; + + postInstall = '' + ln -s iperf3 $out/bin/iperf + ''; + + meta = with stdenv.lib; { + homepage = http://software.es.net/iperf/; + description = "Tool to measure IP bandwidth using UDP or TCP"; + platforms = platforms.unix; + license = "as-is"; + maintainers = with maintainers; [ wkennington ]; + }; +} |