1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6# cannot be built as pythonApplication because the library functions are
7# required for home-assistant
8buildPythonPackage rec {
9 pname = "speedtest-cli";
10 version = "2.1.3";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "1w4h7m0isbvfy4zx6m5j4594p5y4pjbpzsr0h4yzmdgd7hip69sy";
15 };
16
17 # tests require working internet connection
18 doCheck = false;
19
20 meta = with lib; {
21 description = "Command line interface for testing internet bandwidth using speedtest.net";
22 homepage = "https://github.com/sivel/speedtest-cli";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ makefu domenkozar ];
25 };
26}