nixpkgs/pkgs/development/ocaml-modules/ansiterminal/default.nix

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

30 lines
918 B
Nix
Raw Normal View History

{ lib, buildDunePackage, fetchurl }:
2014-10-28 13:00:48 +00:00
buildDunePackage rec {
pname = "ANSITerminal";
version = "0.8.5";
2014-10-28 13:00:48 +00:00
src = fetchurl {
url = "https://github.com/Chris00/ANSITerminal/releases/download/${version}/ANSITerminal-${version}.tbz";
hash = "sha256-q3OyGLajAmfSu8QzEtzzE5gbiwvsVV2SsGuHZkst0w4=";
2014-10-28 13:00:48 +00:00
};
postPatch = ''
substituteInPlace src/dune --replace 'libraries unix bytes' 'libraries unix'
'';
doCheck = true;
2014-10-28 13:00:48 +00:00
meta = with lib; {
2014-10-28 13:00:48 +00:00
description = "A 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";
2014-10-28 13:00:48 +00:00
license = licenses.lgpl3;
maintainers = [ maintainers.jirkamarsik ];
};
}