Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 46 lines 972 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pillow, 6 pyfiglet, 7 pytestCheckHook, 8 setuptools-scm, 9 wcwidth, 10}: 11 12buildPythonPackage rec { 13 pname = "asciimatics"; 14 version = "1.15.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-z905gEJydRnYtz5iuO+CwL7P7U60IImcO5bJjQuWgho="; 20 }; 21 22 build-system = [ setuptools-scm ]; 23 24 dependencies = [ 25 pyfiglet 26 pillow 27 wcwidth 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ 33 "asciimatics.effects" 34 "asciimatics.renderers" 35 "asciimatics.scene" 36 "asciimatics.screen" 37 ]; 38 39 meta = { 40 description = "Module to create full-screen text UIs (from interactive forms to ASCII animations)"; 41 homepage = "https://github.com/peterbrittain/asciimatics"; 42 changelog = "https://github.com/peterbrittain/asciimatics/releases/tag/${version}"; 43 license = lib.licenses.asl20; 44 maintainers = with lib.maintainers; [ cmcdragonkai ]; 45 }; 46}