Commit 68f1afdb authored by Doron Behar's avatar Doron Behar
Browse files

python3.pkgs.beets: remove sphinx man pages

These are optional, and `sphinx-toolbox` requires `autodocsumm` which is
broken due to lack of support for sphinx 9. Relevant issues:

- https://github.com/NixOS/nixpkgs/issues/493540#issuecomment-3979235580
- https://github.com/sphinx-toolbox/sphinx-toolbox/issues/197
- https://github.com/Chilipp/autodocsumm/issues/108
parent 720fa66f
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
@@ -52,11 +52,6 @@

  # native
  gobject-introspection,
  sphinxHook,
  sphinx-design,
  sphinx-copybutton,
  sphinx-toolbox,
  pydata-sphinx-theme,

  # buildInputs
  gst_all_1,
@@ -161,11 +156,6 @@ buildPythonPackage (finalAttrs: {

  nativeBuildInputs = [
    gobject-introspection
    sphinxHook
    sphinx-design
    sphinx-copybutton
    sphinx-toolbox
    pydata-sphinx-theme
  ]
  ++ extraNativeBuildInputs;

@@ -177,19 +167,7 @@ buildPythonPackage (finalAttrs: {

  outputs = [
    "out"
    "doc"
    "man"
  ];
  sphinxBuilders = [
    "html"
    "man"
  ];
  # Causes an installManPage error. Not clear why this directory gets generated
  # with the manpages. The same directory is observed correctly in
  # $doc/share/doc/beets-${version}/html
  preInstallSphinx = ''
    rm -r .sphinx/man/man/_sphinx_design_static
  '';

  postInstall = ''
    mkdir -p $out/share/zsh/site-functions