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