1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 sphinx, 7 ditaa, 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxcontrib-ditaa"; 12 version = "1.0.2"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-V/LhOwWbOP3olYC+ypFqxsp0VrLXBsPd6p3UiQ5fW9M="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 dependencies = [ 23 sphinx 24 ditaa 25 ]; 26 27 # no tests provided 28 doCheck = false; 29 30 # ? needs docutils exported as runtime dep 31 #pythonImportsCheck = [ "sphinxcontrib.ditaa" ]; 32 33 pythonNamespaces = [ "sphinxcontrib" ]; 34 35 meta = { 36 description = "Sphinx ditaa extension"; 37 homepage = "https://pypi.org/project/sphinxcontrib-ditaa"; 38 maintainers = with lib.maintainers; [ rconybea ]; 39 license = lib.licenses.bsd2; 40 }; 41}