Merge pull request #216995 from phip1611/phip1611-cleanup
ansi/ttfb: cleanup
This commit is contained in:
@@ -6,20 +6,20 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-KGPlNXkF16VdoOb3tg3nsQRdtgU83z7ibPy965bvvDk=";
|
||||
hash = "sha256-KGPlNXkF16VdoOb3tg3nsQRdtgU83z7ibPy965bvvDk=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-Q46VKBrOsjqUeSruuK/Bur2L69JAGr3c+ianfPlfzi0=";
|
||||
cargoHash = "sha256-Q46VKBrOsjqUeSruuK/Bur2L69JAGr3c+ianfPlfzi0=";
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Quickly get ANSI escape sequences";
|
||||
longDescription = ''
|
||||
CLI utility called "ansi" to quickly get ANSI escape sequences. Supports
|
||||
the colors and styles, such as bold or italic.
|
||||
'';
|
||||
homepage = "https://github.com/phip1611/ansi-escape-sequences-cli";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ phip1611 ];
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ phip1611 ];
|
||||
mainProgram = "ansi";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,10 +13,10 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-o7kzQ8jtAqDwTUPtjeNqgotxREeWl7jQG+EDrYWJL/Q=";
|
||||
hash = "sha256-o7kzQ8jtAqDwTUPtjeNqgotxREeWl7jQG+EDrYWJL/Q=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-ayyYrrFDVOYVjVo5TLaRn2mvmywe5BjQ7kRVV2r0iK8=";
|
||||
cargoHash = "sha256-ayyYrrFDVOYVjVo5TLaRn2mvmywe5BjQ7kRVV2r0iK8=";
|
||||
|
||||
# The bin feature activates all dependencies of the binary. Otherwise,
|
||||
# only the library is build.
|
||||
@@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec {
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "CLI-Tool to measure the TTFB (time to first byte) of HTTP(S) requests";
|
||||
longDescription = ''
|
||||
This crate measures the times of DNS lookup, TCP connect, TLS handshake, and HTTP's TTFB
|
||||
@@ -38,8 +38,8 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
homepage = "https://github.com/phip1611/ttfb";
|
||||
changelog = "https://github.com/phip1611/ttfb/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ phip1611 ];
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ phip1611 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user