Merge pull request #251020 from colemickens/pr-cfspeedtest-103

cfspeedtest: init at 1.1.2
This commit is contained in:
Rick van Schijndel 2023-09-20 06:59:25 +02:00 committed by GitHub
commit 97695cf250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View 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 ];
};
}

View file

@ -1699,6 +1699,8 @@ with pkgs;
cf-vault = callPackage ../tools/admin/cf-vault { };
cfspeedtest = callPackage ../tools/networking/cfspeedtest { };
cfonts = callPackage ../tools/misc/cfonts { };
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };