lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

iperf2: modernize & refactor

+4 -7
+4 -7
pkgs/tools/networking/iperf/2.nix
··· 4 4 fetchurl, 5 5 }: 6 6 7 - stdenv.mkDerivation rec { 7 + stdenv.mkDerivation (finalAttrs: { 8 8 pname = "iperf"; 9 9 version = "2.2.1"; 10 10 11 11 src = fetchurl { 12 - url = "mirror://sourceforge/iperf2/files/${pname}-${version}.tar.gz"; 13 - sha256 = "1yyqzgz526xn6v2hrdiizviddx3xphjg93ihh7mdncw0wakv0jkm"; 12 + url = "mirror://sourceforge/iperf2/files/iperf-${finalAttrs.version}.tar.gz"; 13 + hash = "sha256-dUqwp+KAM9vqgTCO9CS8ffTW4v4xtgzFNrYbUf772Ps="; 14 14 }; 15 15 16 - hardeningDisable = [ "format" ]; 17 16 configureFlags = [ "--enable-fastsampling" ]; 18 - 19 - makeFlags = [ "AR:=$(AR)" ]; 20 17 21 18 postInstall = '' 22 19 mv $out/bin/iperf $out/bin/iperf2 ··· 32 29 # prioritize iperf3 33 30 priority = 10; 34 31 }; 35 - } 32 + })