depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-ditaa/default.nix

41 lines
774 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
sphinx,
ditaa,
}:
buildPythonPackage rec {
pname = "sphinxcontrib-ditaa";
version = "1.0.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-V/LhOwWbOP3olYC+ypFqxsp0VrLXBsPd6p3UiQ5fW9M=";
};
build-system = [ setuptools ];
dependencies = [
sphinx
ditaa
];
# no tests provided
doCheck = false;
# ? needs docutils exported as runtime dep
#pythonImportsCheck = [ "sphinxcontrib.ditaa" ];
pythonNamespaces = [ "sphinxcontrib" ];
meta = {
description = "Sphinx ditaa extension";
homepage = "https://pypi.org/project/sphinxcontrib-ditaa";
maintainers = with lib.maintainers; [ rconybea ];
license = lib.licenses.bsd2;
};
}