rocmPackages.rocm-docs-core: init at 0.25.0
This commit is contained in:
parent
0a89aedcea
commit
05de74ecf3
2 changed files with 67 additions and 0 deletions
|
@ -70,6 +70,8 @@ in rec {
|
|||
# stdenv = llvm.rocmClangStdenv;
|
||||
};
|
||||
|
||||
rocm-docs-core = python3Packages.callPackage ./rocm-docs-core { };
|
||||
|
||||
## ROCm-Developer-Tools ##
|
||||
hip-common = callPackage ./hip-common {
|
||||
inherit rocmUpdateScript;
|
||||
|
|
65
pkgs/development/rocm-modules/5/rocm-docs-core/default.nix
Normal file
65
pkgs/development/rocm-modules/5/rocm-docs-core/default.nix
Normal file
|
@ -0,0 +1,65 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, gitUpdater
|
||||
, buildPythonPackage
|
||||
, setuptools
|
||||
, beautifulsoup4
|
||||
, gitpython
|
||||
, pydata-sphinx-theme
|
||||
, pygithub
|
||||
, sphinx
|
||||
, breathe
|
||||
, myst-parser
|
||||
, sphinx-book-theme
|
||||
, sphinx-copybutton
|
||||
, sphinx-design
|
||||
, sphinx-external-toc
|
||||
, sphinx-notfound-page
|
||||
, pyyaml
|
||||
, fastjsonschema
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rocm-docs-core";
|
||||
version = "0.25.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RadeonOpenCompute";
|
||||
repo = "rocm-docs-core";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kOsoIK0vaPT60hGr960s5vc0eloSr5CECtd8Dy24YuM=";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
gitpython
|
||||
pydata-sphinx-theme
|
||||
pygithub
|
||||
sphinx
|
||||
breathe
|
||||
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/RadeonOpenCompute/rocm-docs-core";
|
||||
license = with licenses; [ mit cc-by-40 ];
|
||||
maintainers = teams.rocm.members;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue