speedtest-rs: init at 0.1.4
This commit is contained in:
parent
363913d575
commit
4af3342a93
2 changed files with 34 additions and 0 deletions
32
pkgs/tools/networking/speedtest-rs/default.nix
Normal file
32
pkgs/tools/networking/speedtest-rs/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, openssl
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "speedtest-rs";
|
||||||
|
version = "0.1.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nelsonjchen";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-/d6A+Arlcc3SCKPSkYXwvqY2BRyAbA33Ah+GddHcc5M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-4TJEM+oMjx/aaZgY2Y679pYFTdEWWFpWDYrK/o2b5UM=";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Command line internet speedtest tool written in rust";
|
||||||
|
homepage = "https://github.com/nelsonjchen/speedtest-rs";
|
||||||
|
changelog = "https://github.com/nelsonjchen/speedtest-rs/blob/v${version}/CHANGELOG.md";
|
||||||
|
license = with licenses; [ mit asl20 ];
|
||||||
|
maintainers = with maintainers; [ GaetanLepage ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1578,6 +1578,8 @@ with pkgs;
|
||||||
|
|
||||||
spectre-cli = callPackage ../tools/security/spectre-cli { };
|
spectre-cli = callPackage ../tools/security/spectre-cli { };
|
||||||
|
|
||||||
|
speedtest-rs = callPackage ../tools/networking/speedtest-rs { };
|
||||||
|
|
||||||
steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch {};
|
steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch {};
|
||||||
|
|
||||||
supermin = callPackage ../tools/virtualization/supermin { };
|
supermin = callPackage ../tools/virtualization/supermin { };
|
||||||
|
|
Loading…
Reference in a new issue