biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / rocm-modules / 5 / rocm-docs-core / default.nix
blobe980c9509a0883e42bc89487db985dd1bf6b91c1
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , gitUpdater
5 , buildPythonPackage
6 , setuptools
7 , beautifulsoup4
8 , gitpython
9 , pydata-sphinx-theme
10 , pygithub
11 , sphinx
12 , breathe
13 , myst-parser
14 , sphinx-book-theme
15 , sphinx-copybutton
16 , sphinx-design
17 , sphinx-external-toc
18 , sphinx-notfound-page
19 , pyyaml
20 , fastjsonschema
23 # FIXME: Move to rocmPackages_common
24 buildPythonPackage rec {
25   pname = "rocm-docs-core";
26   version = "0.26.0";
27   format = "pyproject";
29   src = fetchFromGitHub {
30     owner = "RadeonOpenCompute";
31     repo = "rocm-docs-core";
32     rev = "v${version}";
33     hash = "sha256-Mr6/Ne6P+TapoCqN7xkKMNse3fTaIAvvLmMl0kVg7Vs=";
34   };
36   buildInputs = [ setuptools ];
38   propagatedBuildInputs = [
39     beautifulsoup4
40     gitpython
41     pydata-sphinx-theme
42     pygithub
43     sphinx
44     breathe
45     myst-parser
46     sphinx-book-theme
47     sphinx-copybutton
48     sphinx-design
49     sphinx-external-toc
50     sphinx-notfound-page
51     pyyaml
52     fastjsonschema
53   ];
55   pythonImportsCheck = [ "rocm_docs" ];
57   passthru.updateScript = gitUpdater { rev-prefix = "v"; };
59   meta = with lib; {
60     description = "ROCm Documentation Python package for ReadTheDocs build standardization";
61     homepage = "https://github.com/RadeonOpenCompute/rocm-docs-core";
62     license = with licenses; [ mit cc-by-40 ];
63     maintainers = teams.rocm.members;
64     platforms = platforms.linux;
65   };