nixpkgs/pkgs/development/python-modules/speedtest-cli/default.nix
R. RyanTM aca46fd18f speedtest-cli: 2.0.2 -> 2.1.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/speedtest-cli/versions
2019-04-02 20:19:16 -07:00

27 lines
683 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.1";
src = fetchPypi {
inherit pname version;
sha256 = "1s3ylvkclzdsyqmpjnsd6ixrbmj7vd4bfsdplkjaz1c2czyy3j9p";
};
# 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 ];
};
}