Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / asciimatics / default.nix
blob0a9736bebe5081cb984ec5187b85f91356e19776
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pillow
5 , pyfiglet
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools-scm
9 , wcwidth
12 buildPythonPackage rec {
13   pname = "asciimatics";
14   version = "1.15.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-z905gEJydRnYtz5iuO+CwL7P7U60IImcO5bJjQuWgho=";
22   };
24   build-system = [
25     setuptools-scm
26   ];
28   dependencies = [
29     pyfiglet
30     pillow
31     wcwidth
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36   ];
38   pythonImportsCheck =  [
39     "asciimatics.effects"
40     "asciimatics.renderers"
41     "asciimatics.scene"
42     "asciimatics.screen"
43   ];
45   meta = with lib; {
46     description = "Module to create full-screen text UIs (from interactive forms to ASCII animations)";
47     homepage = "https://github.com/peterbrittain/asciimatics";
48     changelog = "https://github.com/peterbrittain/asciimatics/releases/tag/${version}";
49     license = licenses.asl20;
50     maintainers = with maintainers; [ cmcdragonkai ];
51   };