depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-ditaa/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

42 lines
795 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
unittestCheckHook,
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;
};
}