8 rustPlatform.buildRustPackage rec {
13 inherit pname version;
14 hash = "sha256-38mhwYfWoMZzdbkgv65hBpX23wCpAWwiahuzO5xRpmA=";
17 buildInputs = lib.optionals stdenv.isDarwin [
18 darwin.apple_sdk.frameworks.Security
21 cargoHash = "sha256-Gqv4XvG3aYMRdMP1mzUlsCPN+NMLHq2nf283KBQCems==";
23 # The bin feature activates all dependencies of the binary. Otherwise,
24 # only the library is build.
25 buildFeatures = [ "bin" ];
28 description = "CLI-Tool to measure the TTFB (time to first byte) of HTTP(S) requests";
31 ttfb measure the TTFB (time to first byte) of HTTP(S) requests. This includes data
32 of intermediate steps, such as the relative and absolute timings of DNS lookup, TCP
33 connect, and TLS handshake.
35 homepage = "https://github.com/phip1611/ttfb";
36 changelog = "https://github.com/phip1611/ttfb/blob/v${version}/CHANGELOG.md";
37 license = with lib.licenses; [ mit ];
38 maintainers = with lib.maintainers; [ phip1611 ];