{ lib, fetchFromGitHub, gitUpdater, buildPythonPackage, setuptools, beautifulsoup4, gitpython, pydata-sphinx-theme, pygithub, sphinx, breathe, myst-nb, myst-parser, sphinx-book-theme, sphinx-copybutton, sphinx-design, sphinx-external-toc, sphinx-notfound-page, pyyaml, fastjsonschema, }: # FIXME: Move to rocmPackages_common buildPythonPackage rec { pname = "rocm-docs-core"; version = "1.17.0"; format = "pyproject"; src = fetchFromGitHub { owner = "ROCm"; repo = "rocm-docs-core"; rev = "v${version}"; hash = "sha256-fGRJyQq0Eook1Dc9Qy+dehQ5BVNX+6pkkFN9adb21Eo="; }; buildInputs = [ setuptools ]; propagatedBuildInputs = [ beautifulsoup4 gitpython pydata-sphinx-theme pygithub sphinx breathe myst-nb myst-parser sphinx-book-theme sphinx-copybutton sphinx-design sphinx-external-toc sphinx-notfound-page pyyaml fastjsonschema ]; pythonImportsCheck = [ "rocm_docs" ]; passthru.updateScript = gitUpdater { rev-prefix = "v"; }; meta = with lib; { description = "ROCm Documentation Python package for ReadTheDocs build standardization"; homepage = "https://github.com/ROCm/rocm-docs-core"; license = with licenses; [ mit cc-by-40 ]; teams = [ teams.rocm ]; platforms = platforms.linux; }; }