Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
809 B
Nix
37 lines
809 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
makeWrapper,
|
|
iperf3,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "iperf3d";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wobcom";
|
|
repo = "iperf3d";
|
|
rev = "v${version}";
|
|
hash = "sha256-pMwGoBgFRVY+H51k+YCamzHgBoaJVwEVqY0CvMPvE0w=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/iperf3d --prefix PATH : ${iperf3}/bin
|
|
'';
|
|
|
|
cargoHash = "sha256-eijsPyoe3/+yR5kRmzk0dH62gTAFFURTVT8wN6Iy0HI=";
|
|
|
|
meta = with lib; {
|
|
description = "Iperf3 client and server wrapper for dynamic server ports";
|
|
mainProgram = "iperf3d";
|
|
homepage = "https://github.com/wobcom/iperf3d";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ netali ];
|
|
teams = [ teams.wdz ];
|
|
};
|
|
}
|