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.0.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "2f3d5aa1086d9b367c03b99db6e3207525af174772d877c6b982289b8d2bdefe";
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 ndowens ];
25 };
26}