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