nixpkgs/pkgs/development/ocaml-modules/ansiterminal/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
916 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 ];
};
}