Merge pull request #251020 from colemickens/pr-cfspeedtest-103
cfspeedtest: init at 1.1.2
This commit is contained in:
commit
97695cf250
2 changed files with 29 additions and 0 deletions
27
pkgs/tools/networking/cfspeedtest/default.nix
Normal file
27
pkgs/tools/networking/cfspeedtest/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cfspeedtest";
|
||||||
|
version = "1.1.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "code-inflation";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-uQe9apG4SdFEUT2aOrzF2C8bbrl0fOiqnMZrWDQvbxk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-wJmLUPXGSg90R92iW9R02r3E3e7XU1gJwd8IqIC+QMA=";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Unofficial CLI for speed.cloudflare.com";
|
||||||
|
homepage = "https://github.com/code-inflation/cfspeedtest";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
|
maintainers = with maintainers; [ colemickens ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1699,6 +1699,8 @@ with pkgs;
|
||||||
|
|
||||||
cf-vault = callPackage ../tools/admin/cf-vault { };
|
cf-vault = callPackage ../tools/admin/cf-vault { };
|
||||||
|
|
||||||
|
cfspeedtest = callPackage ../tools/networking/cfspeedtest { };
|
||||||
|
|
||||||
cfonts = callPackage ../tools/misc/cfonts { };
|
cfonts = callPackage ../tools/misc/cfonts { };
|
||||||
|
|
||||||
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };
|
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };
|
||||||
|
|
Loading…
Reference in a new issue