blob: ced9b7b68f0e97cc48f4bc0819a8f10034245dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
colorama,
}:
buildPythonPackage rec {
pname = "ansimarkup";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "gvalkov";
repo = "python-ansimarkup";
tag = "v${version}";
hash = "sha256-+kZt8tv09RHrMRZtvJPBBiFaeCksXyrlHqIabPrXYDY=";
};
build-system = [ setuptools ];
dependencies = [ colorama ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ansimarkup" ];
meta = {
description = "XML-like markup for producing colored terminal text";
homepage = "https://github.com/gvalkov/python-ansimarkup";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ cpcloud ];
};
}
|