blob: 0a9736bebe5081cb984ec5187b85f91356e19776 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ lib
, buildPythonPackage
, fetchPypi
, pillow
, pyfiglet
, pytestCheckHook
, pythonOlder
, setuptools-scm
, wcwidth
}:
buildPythonPackage rec {
pname = "asciimatics";
version = "1.15.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-z905gEJydRnYtz5iuO+CwL7P7U60IImcO5bJjQuWgho=";
};
build-system = [
setuptools-scm
];
dependencies = [
pyfiglet
pillow
wcwidth
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"asciimatics.effects"
"asciimatics.renderers"
"asciimatics.scene"
"asciimatics.screen"
];
meta = with lib; {
description = "Module to create full-screen text UIs (from interactive forms to ASCII animations)";
homepage = "https://github.com/peterbrittain/asciimatics";
changelog = "https://github.com/peterbrittain/asciimatics/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ cmcdragonkai ];
};
}
|