at 18.03-beta 21 lines 630 B view raw
1{ stdenv, fetchFromGitHub, pythonPackages }: 2 3pythonPackages.buildPythonApplication rec { 4 name = "speedtest-cli-${version}"; 5 version = "2.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "sivel"; 9 repo = "speedtest-cli"; 10 rev = "v${version}"; 11 sha256 = "06fini7bqf5paphp8dpck1zpmb33cdxlf4hg6xg2g9k4bdm2k26d"; 12 }; 13 14 meta = with stdenv.lib; { 15 homepage = https://github.com/sivel/speedtest-cli; 16 description = "Command line interface for testing internet bandwidth using speedtest.net"; 17 platforms = platforms.all; 18 license = licenses.asl20; 19 maintainers = with maintainers; [ domenkozar ndowens ]; 20 }; 21}