Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{
|
|
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.23.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ROCm";
|
|
repo = "rocm-docs-core";
|
|
rev = "v${version}";
|
|
hash = "sha256-5Qh83eJ9vju/uUb9gGA4B5Bh1WZCygIRbSnaEZzIdbw=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|