diff --git a/pkgs/tools/audio/beets/common.nix b/pkgs/tools/audio/beets/common.nix index 29fdaa91ebcb..6e232ef1c66f 100644 --- a/pkgs/tools/audio/beets/common.nix +++ b/pkgs/tools/audio/beets/common.nix @@ -112,6 +112,8 @@ python3Packages.buildPythonApplication { gobject-introspection sphinxHook python3Packages.pydata-sphinx-theme + python3Packages.sphinx-design + python3Packages.sphinx-copybutton ] ++ extraNativeBuildInputs; @@ -132,6 +134,12 @@ python3Packages.buildPythonApplication { "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 diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix index f08a874426cf..39a057cd18c8 100644 --- a/pkgs/tools/audio/beets/default.nix +++ b/pkgs/tools/audio/beets/default.nix @@ -31,12 +31,12 @@ lib.makeExtensible ( beets-stable = callPackage ./common.nix rec { inherit python3Packages extraPatches; - version = "2.5.0"; + version = "2.5.1"; src = fetchFromGitHub { owner = "beetbox"; repo = "beets"; tag = "v${version}"; - hash = "sha256-YZvS9oB+v+48i1avQcs6ClnYz4aMqJQ2e6cBiZ4ULb0="; + hash = "sha256-H3jcEHyK13+RHVlV4zp+8M3LZ0Jc2FdmAbLpekGozLA="; }; };