Unverified Commit 701495af authored by Jenny's avatar Jenny Committed by GitHub
Browse files

iperf3d: init at 1.0.0 (#241947)

parent 5ddb5936
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, rustPlatform, makeWrapper, iperf3 }:

rustPlatform.buildRustPackage rec {
  pname = "iperf3d";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "wobcom";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-pMwGoBgFRVY+H51k+YCamzHgBoaJVwEVqY0CvMPvE0w=";
  };

  nativeBuildInputs = [ makeWrapper ];

  postInstall = ''
    wrapProgram $out/bin/iperf3d --prefix PATH : ${iperf3}/bin
  '';

  cargoHash = "sha256-3mJBn70sSoDL9GNxgEZqA8S4GrY+DjnYY9Cc5Xe1GFQ=";

  meta = with lib; {
    description = "A iperf3 client and server wrapper for dynamic server ports";
    homepage = "https://github.com/wobcom/iperf3d";
    license = licenses.mit;
    maintainers = [ maintainers.netali ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8998,6 +8998,8 @@ with pkgs;
  iperf3 = callPackage ../tools/networking/iperf/3.nix { };
  iperf = iperf3;
  iperf3d = callPackage ../tools/networking/iperf3d { };
  ipfetch = callPackage ../tools/networking/ipfetch { };
  ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { };