Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
923 B
Nix
34 lines
923 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ANSITerminal";
|
|
version = "0.8.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Chris00/ANSITerminal/releases/download/${version}/ANSITerminal-${version}.tbz";
|
|
hash = "sha256-q3OyGLajAmfSu8QzEtzzE5gbiwvsVV2SsGuHZkst0w4=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/dune --replace 'libraries unix bytes' 'libraries unix'
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Module allowing to use the colors and cursor movements on ANSI terminals";
|
|
longDescription = ''
|
|
ANSITerminal is a module allowing to use the colors and cursor
|
|
movements on ANSI terminals. It also works on the windows shell (but
|
|
this part is currently work in progress).
|
|
'';
|
|
homepage = "https://github.com/Chris00/ANSITerminal";
|
|
license = licenses.lgpl3;
|
|
maintainers = [ maintainers.jirkamarsik ];
|
|
};
|
|
}
|