1{ fetchCrate, lib, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "ansi-escape-sequences-cli";
5 version = "0.1.4";
6
7 src = fetchCrate {
8 inherit pname version;
9 hash = "sha256-KGPlNXkF16VdoOb3tg3nsQRdtgU83z7ibPy965bvvDk=";
10 };
11
12 cargoHash = "sha256-Q46VKBrOsjqUeSruuK/Bur2L69JAGr3c+ianfPlfzi0=";
13
14 meta = {
15 description = "Quickly get ANSI escape sequences";
16 longDescription = ''
17 CLI utility called "ansi" to quickly get ANSI escape sequences. Supports
18 the colors and styles, such as bold or italic.
19 '';
20 homepage = "https://github.com/phip1611/ansi-escape-sequences-cli";
21 license = with lib.licenses; [ mit ];
22 maintainers = with lib.maintainers; [ phip1611 ];
23 mainProgram = "ansi";
24 };
25}