1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 hatchling, 7 terminaltexteffects, 8}: 9 10buildPythonPackage rec { 11 pname = "textualeffects"; 12 version = "0.1.4"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.10"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-hnCTIdSc16v0ftUTeCEwF05vXYXqFplqfDhwnDZGxGM="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 dependencies = [ terminaltexteffects ]; 25 26 pythonImportsCheck = [ "textualeffects" ]; 27 28 # no tests implemented 29 doCheck = false; 30 31 meta = { 32 description = "Visual effects for Textual, a TerminalTextEffects wrapper"; 33 homepage = "https://github.com/ggozad/textualeffects"; 34 changelog = "https://github.com/ggozad/textualeffects/blob/v${version}/CHANGES.txt"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ gaelj ]; 37 }; 38}