python311Packages.mutagen: 1.46.0 -> 1.47.0

Changelog: https://mutagen.readthedocs.io/en/latest/changelog.html#release-1-47-0
This commit is contained in:
Fabian Affolter 2023-09-10 14:37:35 +02:00
parent 964006733a
commit 50bb03d92c

View File

@ -2,7 +2,6 @@
, buildPythonPackage
, pythonOlder
, fetchPypi
, fetchpatch
# docs
, python
@ -16,32 +15,26 @@
buildPythonPackage rec {
pname = "mutagen";
version = "1.46.0";
version = "1.47.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-bl+LqEg2uZ/mC+X7J/hL5K2Rm7trScqmroHnBYS1Xlg=";
hash = "sha256-cZ+t7wqXjDG0zzyVYmGzxYtpSLMgIweKIRex3gnw/Jk=";
};
outputs = [ "out" "doc" ];
outputs = [
"out"
"doc"
];
nativeBuildInputs = [
sphinx
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
'';