3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/speedtest-cli/default.nix

27 lines
683 B
Nix
Raw Normal View History

2018-10-16 23:45:25 +01:00
{ lib
, buildPythonPackage
, fetchPypi
}:
# cannot be built as pythonApplication because the library functions are
# required for home-assistant
buildPythonPackage rec {
pname = "speedtest-cli";
2019-08-24 20:38:25 +01:00
version = "2.1.2";
2018-10-16 23:45:25 +01:00
src = fetchPypi {
inherit pname version;
2019-08-24 20:38:25 +01:00
sha256 = "0m1fpsb318mrpliw026a7nhx8iky306rmfi565734k7r49i3h7fg";
2018-10-16 23:45:25 +01:00
};
# 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 ndowens ];
};
}