blob: 86a36cf2d78e606ad861a505b9c64223152f5555 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
}:
# cannot be built as pythonApplication because the library functions are
# required for home-assistant
buildPythonPackage rec {
pname = "speedtest-cli";
version = "2.1.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1w4h7m0isbvfy4zx6m5j4594p5y4pjbpzsr0h4yzmdgd7hip69sy";
};
# tests require working internet connection
doCheck = false;
meta = {
description = "Command line interface for testing internet bandwidth using speedtest.net";
homepage = "https://github.com/sivel/speedtest-cli";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
makefu
];
};
}
|