2023-01-25 17:50:36 +01:00
|
|
|
{
|
|
|
|
fetchCrate,
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ansi-escape-sequences-cli";
|
2025-05-22 16:12:21 +00:00
|
|
|
version = "0.2.2";
|
2023-01-25 17:50:36 +01:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2025-05-22 16:12:21 +00:00
|
|
|
hash = "sha256-55CdEw1bVgabWRbZIRe9jytwDf70Y92nITwDRQaTXaQ=";
|
2023-01-25 17:50:36 +01:00
|
|
|
};
|
|
|
|
|
2025-05-22 16:12:21 +00:00
|
|
|
cargoHash = "sha256-g+FP98lcC3EeQtcGO0kE+g6Z9tUgrlieTlVJYKs/ig4=";
|
2023-01-25 17:50:36 +01:00
|
|
|
|
2023-02-27 22:34:50 +01:00
|
|
|
meta = {
|
2023-01-25 17:50:36 +01:00
|
|
|
description = "Quickly get ANSI escape sequences";
|
|
|
|
longDescription = ''
|
|
|
|
CLI utility called "ansi" to quickly get ANSI escape sequences. Supports
|
2023-02-17 21:59:40 +01:00
|
|
|
the colors and styles, such as bold or italic.
|
2023-01-25 17:50:36 +01:00
|
|
|
'';
|
|
|
|
homepage = "https://github.com/phip1611/ansi-escape-sequences-cli";
|
2023-02-27 22:34:50 +01:00
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ phip1611 ];
|
2023-01-25 17:50:36 +01:00
|
|
|
mainProgram = "ansi";
|
|
|
|
};
|
|
|
|
}
|