nixpkgs/pkgs/tools/networking/speedtest-cli/default.nix
R. RyanTM e02be162f9 speedtest-cli: 2.0.0 -> 2.0.1 (#41041)
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.

These checks were done:

- built on NixOS
- /nix/store/rhi9py7nac05v8qsvwjaszp15l5db3p6-speedtest-cli-2.0.1/bin/.speedtest-wrapped passed the binary check.
- /nix/store/rhi9py7nac05v8qsvwjaszp15l5db3p6-speedtest-cli-2.0.1/bin/speedtest passed the binary check.
- /nix/store/rhi9py7nac05v8qsvwjaszp15l5db3p6-speedtest-cli-2.0.1/bin/.speedtest-cli-wrapped passed the binary check.
- /nix/store/rhi9py7nac05v8qsvwjaszp15l5db3p6-speedtest-cli-2.0.1/bin/speedtest-cli passed the binary check.
- 4 of 4 passed binary check by having a zero exit code.
- 4 of 4 passed binary check by having the new version present in output.
- found 2.0.1 with grep in /nix/store/rhi9py7nac05v8qsvwjaszp15l5db3p6-speedtest-cli-2.0.1
- directory tree listing: https://gist.github.com/8474ab8a0bcd232ed8b3f5f9bff112ee
- du listing: https://gist.github.com/f130f280bd23afc5797bf84f764288c4
2018-05-28 14:42:17 +02:00

22 lines
630 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "speedtest-cli-${version}";
version = "2.0.1";
src = fetchFromGitHub {
owner = "sivel";
repo = "speedtest-cli";
rev = "v${version}";
sha256 = "0d3av50qm7bahsdg0k7hp04r9ripsafn95yqcgsy5h5y9yj4rsvf";
};
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 ];
};
}