2021-06-06 07:54:09 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ANSITerminal";
|
|
|
|
version = "0.8.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Chris00";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0dyjischrgwlxqz1p5zbqq76jvk6pl1qj75i7ydhijssr9pj278d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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).
|
|
|
|
'';
|
2021-06-06 07:54:09 +00:00
|
|
|
inherit (src.meta) homepage;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = [ maintainers.jirkamarsik ];
|
|
|
|
};
|
|
|
|
}
|