nixpkgs/pkgs/by-name/an/ansi/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
762 B
Nix
Raw Permalink Normal View History

{
fetchCrate,
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "ansi-escape-sequences-cli";
2025-05-22 16:12:21 +00:00
version = "0.2.2";
src = fetchCrate {
inherit pname version;
2025-05-22 16:12:21 +00:00
hash = "sha256-55CdEw1bVgabWRbZIRe9jytwDf70Y92nITwDRQaTXaQ=";
};
2025-05-22 16:12:21 +00:00
cargoHash = "sha256-g+FP98lcC3EeQtcGO0kE+g6Z9tUgrlieTlVJYKs/ig4=";
2023-02-27 22:34:50 +01:00
meta = {
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.
'';
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 ];
mainProgram = "ansi";
};
}