Skip to content

Commit

Permalink
Merge pull request #116986 from fabaff/speedtest-cli
Browse files Browse the repository at this point in the history
librespeed-cli: init at 1.0.7
  • Loading branch information
SuperSandro2000 committed Mar 20, 2021
2 parents dc88d47 + 12ebcca commit 530f854
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/tools/misc/librespeed-cli/default.nix
@@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
pname = "librespeed-cli";
version = "1.0.7";

src = fetchFromGitHub {
owner = "librespeed";
repo = "speedtest-cli";
rev = "v${version}";
sha256 = "03bhxx33fy1cgp83anm51fm8v079v0az0d0p785dz98jg14vzibl";
};

vendorSha256 = "1kccxmmzbkzbrxypcrz0j1zz51c0q1d5hh25lcpfbkm3498mj02c";

# Tests have additonal requirements
doCheck = false;

meta = with lib; {
description = "Command line client for LibreSpeed";
homepage = "https://github.com/librespeed/speedtest-cli";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -6167,6 +6167,8 @@ in

libzmf = callPackage ../development/libraries/libzmf {};

librespeed-cli = callPackage ../tools/misc/librespeed-cli { };

libreswan = callPackage ../tools/networking/libreswan { };

librest = callPackage ../development/libraries/librest { };
Expand Down

0 comments on commit 530f854

Please sign in to comment.