Skip to content

Commit 80c434f

Browse files
committed
Update with computed cargoHash
1 parent c947908 commit 80c434f

File tree

1 file changed

+3
-12
lines changed
  • nix/package-sets/top-level/scale-network/rperf

1 file changed

+3
-12
lines changed

nix/package-sets/top-level/scale-network/rperf/package.nix

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
2-
pkgs,
3-
libs,
4-
stdenv,
52
fetchFromGitHub,
3+
rustPlatform,
64
}:
7-
pkgs.rustPlatform.buildRustPackage {
5+
rustPlatform.buildRustPackage {
86
pname = "rperf";
97
version = "0.1.23";
108
checkType = "debug";
@@ -16,14 +14,7 @@ pkgs.rustPlatform.buildRustPackage {
1614
hash = "sha256-gTdp7LpPwWi6hUu62hMPYbdaLCdQNWPl/VxIrE91vww=";
1715
};
1816

19-
nativeBuildInputs = with rustPlatform; [
20-
rustc
21-
cargo
22-
];
23-
cargoHash = libs.fakeHash;
24-
cargoBuildFlags = [
25-
"--release"
26-
];
17+
cargoHash = "sha256-itstgUiASkSlPFbMmKRIEVebApYBDDQT8GRghbeheLA=";
2718

2819
meta = {
2920
description = "A Rust implementation of the iperf3 tool.";

0 commit comments

Comments
 (0)