blob: 35eaebf79f074a25325aa52908ba576cf1ebde8d (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ansi";
version = "0.3.7";
pyproject = true;
src = fetchFromGitHub {
owner = "tehmaze";
repo = "ansi";
tag = "ansi-${version}";
hash = "sha256-PmgB1glksu4roQeZ1o7uilMJNm9xaYqw680N2z+tUUM=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"ansi.colour"
"ansi.color"
];
meta = {
description = "ANSI cursor movement and graphics";
homepage = "https://github.com/tehmaze/ansi/";
license = lib.licenses.mit;
};
}
|