depot/third_party/nixpkgs/pkgs/development/python-modules/speedtest-cli/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
677 B
Nix

{ 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 ];
};
}