depot/pkgs/tools/networking/cfspeedtest/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 lines
706 B
Nix

{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cfspeedtest";
version = "1.2.6";
src = fetchFromGitHub {
owner = "code-inflation";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-K/rotb4rgYKOF1Gvgb8uPfHCAyYqwcvyU26ZlKGxHcs=";
};
cargoHash = "sha256-clIMlnLXL4ciD1H0LNSLH/ooKIfoZy9D/RDvoSHfG+I=";
meta = with lib; {
description = "Unofficial CLI for speed.cloudflare.com";
homepage = "https://github.com/code-inflation/cfspeedtest";
license = with licenses; [ mit ];
broken = stdenv.hostPlatform.isDarwin;
maintainers = with maintainers; [ colemickens ];
mainProgram = "cfspeedtest";
};
}