diff options
Diffstat (limited to 'pkgs/cfspeedtest/default.nix')
| -rw-r--r-- | pkgs/cfspeedtest/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/cfspeedtest/default.nix b/pkgs/cfspeedtest/default.nix new file mode 100644 index 0000000..be357c5 --- /dev/null +++ b/pkgs/cfspeedtest/default.nix @@ -0,0 +1,27 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: +rustPlatform.buildRustPackage rec { + pname = "cfspeedtest"; + version = "1.1.1"; + + src = fetchFromGitHub { + owner = "code-inflation"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-YF/jf1TzNW1QswNefQ4qKeXDyjFoN9/AWcjoeENCgvc="; + }; + + 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]; + }; +} |
