blob: 3fb30ebf725588d9d7d3dc812bdf1c749d4db652 (
plain) (
blame)
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
37
38
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ansi";
version = "0.3.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "tehmaze";
repo = pname;
rev = "refs/tags/ansi-${version}";
hash = "sha256-PmgB1glksu4roQeZ1o7uilMJNm9xaYqw680N2z+tUUM=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"ansi.colour"
"ansi.color"
];
meta = with lib; {
description = "ANSI cursor movement and graphics";
homepage = "https://github.com/tehmaze/ansi/";
license = licenses.mit;
};
}
|