blob: d472ab98399f26a8c7d8324066fde7c9a0abc689 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
iperf3,
setuptools,
}:
buildPythonPackage rec {
pname = "iperf3";
version = "0.1.11";
pyproject = true;
src = fetchFromGitHub {
owner = "thiezn";
repo = "iperf3-python";
tag = "v${version}";
hash = "sha256-kcEgG9lkYUqFtTgrGZdEQ0AHsx3yQIMFOG4A7d4mAnE=";
};
build-system = [ setuptools ];
# Tests require iperf3 client and server setup
doCheck = false;
pythonImportsCheck = [ "iperf3" ];
meta = {
description = "Python wrapper around iperf3";
homepage = "https://github.com/thiezn/iperf3-python";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|