summary refs log blame commit diff
path: root/pkgs/development/python-modules/speedtest-cli/default.nix
blob: ef97617225c082ed76566c54cecf928a8ecbddf7 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                        
                    


                          
                                                                    








                                                                                              
                                                          

    
{ 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.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0m1fpsb318mrpliw026a7nhx8iky306rmfi565734k7r49i3h7fg";
  };

  # tests require working internet connection
  doCheck = false;

  meta = with lib; {
    description = "Command line interface for testing internet bandwidth using speedtest.net";
    homepage = https://github.com/sivel/speedtest-cli;
    license = licenses.asl20;
    maintainers = with maintainers; [ makefu domenkozar ];
  };
}