summary refs log tree commit diff
path: root/pkgs/applications/networking/netperf
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-11-14 00:32:17 +0000
committerOrivej Desh <orivej@gmx.fr>2017-11-14 00:32:17 +0000
commitea2aeb7af40e5691d0408fb57f3ff59e04e41663 (patch)
tree024170c276c2211cf5aba7ba8ca76a05bd04d820 /pkgs/applications/networking/netperf
parent4e2110b1bb14e993b3100893438a5bcb90a4f7bf (diff)
downloadnixpkgs-ea2aeb7af40e5691d0408fb57f3ff59e04e41663.tar
nixpkgs-ea2aeb7af40e5691d0408fb57f3ff59e04e41663.tar.gz
nixpkgs-ea2aeb7af40e5691d0408fb57f3ff59e04e41663.tar.bz2
nixpkgs-ea2aeb7af40e5691d0408fb57f3ff59e04e41663.tar.lz
nixpkgs-ea2aeb7af40e5691d0408fb57f3ff59e04e41663.tar.xz
nixpkgs-ea2aeb7af40e5691d0408fb57f3ff59e04e41663.tar.zst
nixpkgs-ea2aeb7af40e5691d0408fb57f3ff59e04e41663.zip
netperf: update source
Diffstat (limited to 'pkgs/applications/networking/netperf')
-rw-r--r--pkgs/applications/networking/netperf/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/networking/netperf/default.nix b/pkgs/applications/networking/netperf/default.nix
index 3cea203a025..fe58b1d3e28 100644
--- a/pkgs/applications/networking/netperf/default.nix
+++ b/pkgs/applications/networking/netperf/default.nix
@@ -1,11 +1,13 @@
-{stdenv, fetchurl}:
+{ stdenv, fetchFromGitHub }:
 
 stdenv.mkDerivation rec {
   name = "netperf-2.7.0";
 
-  src = fetchurl {
-    url = "ftp://ftp.netperf.org/netperf/${name}.tar.bz2";
-    sha256 = "0nip8178pdry0pqx2gkz0sl2gcvc7qww621q43kqnp43amvg2al4";
+  src = fetchFromGitHub {
+    owner = "HewlettPackard";
+    repo = "netperf";
+    rev = name;
+    sha256 = "034indn3hicwbvyzgw9f32bv2i7c5iv8b4a11imyn03pw97jzh10";
   };
 
   meta = {