nixpkgs/pkgs/tools/networking/speedtest-cli/default.nix
2017-03-01 16:53:30 -06:00

22 lines
632 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "speedtest-cli-${version}";
version = "1.0.2";
src = fetchFromGitHub {
owner = "sivel";
repo = "speedtest-cli";
rev = "v${version}";
sha256 = "1p7lavw95w3as9b2b55i61mwxdr1b6jj40yly91f9j26ywr5dpkg";
};
meta = with stdenv.lib; {
homepage = https://github.com/sivel/speedtest-cli;
description = "Command line interface for testing internet bandwidth using speedtest.net";
platforms = platforms.all;
license = licenses.asl20;
maintainers = with maintainers; [ domenkozar ndowens ];
};
}