python310Packages.mutagen: Fix sphinx 6.0 compat
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
|
||||
# docs
|
||||
, python
|
||||
@@ -32,6 +33,15 @@ buildPythonPackage rec {
|
||||
sphinx-rtd-theme
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# docs: Make extlinks compatible with sphinx 6.0
|
||||
# https://github.com/quodlibet/mutagen/pull/590
|
||||
url = "https://github.com/quodlibet/mutagen/commit/37b4e6bddc03e1f715425c418ea84bac15116907.patch";
|
||||
hash = "sha256-CnGfHY4RhRhOLvlRTH/NZwzCnAL3VhU6xosuh6fkqGQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
${python.pythonForBuild.interpreter} setup.py build_sphinx --build-dir=$doc
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user