depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-ditaa/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

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;
};
}