diff options
Diffstat (limited to 'pkgs/cfspeedtest.nix')
| -rw-r--r-- | pkgs/cfspeedtest.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/cfspeedtest.nix b/pkgs/cfspeedtest.nix new file mode 100644 index 0000000..5f0c696 --- /dev/null +++ b/pkgs/cfspeedtest.nix @@ -0,0 +1,25 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: +rustPlatform.buildRustPackage rec { + pname = "cfspeedtest"; + version = "1.0.2"; + + src = fetchFromGitHub { + owner = "code-inflation"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-EWpepDW3XEQaGdUxAwDYemrqGP++jjeyQddQdFOyb3s="; + }; + + cargoLock.lockFile = "${src}/Cargo.lock"; + + meta = with lib; { + homepage = "https://github.com/code-inflation/cfspeedtest"; + description = "Unofficial CLI for speed.cloudflare.com"; + license = licenses.mit; + maintainers = with maintainers; [getchoo]; + }; +} |
