1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "asciitree"; 11 version = "0.3.3"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "mbr"; 16 repo = "asciitree"; 17 rev = version; 18 hash = "sha256-AaLDO27W6fGHGU11rRpBf5gg1we+9SS1MEJdFP2lPBw="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 meta = with lib; { 26 description = "Draws ASCII trees"; 27 homepage = "https://github.com/mbr/asciitree"; 28 license = licenses.mit; 29 maintainers = [ ]; 30 }; 31}