20 buildPythonPackage rec {
25 disabled = pythonOlder "3.7";
28 inherit pname version;
29 hash = "sha256-cZ+t7wqXjDG0zzyVYmGzxYtpSLMgIweKIRex3gnw/Jk=";
44 ${python.pythonOnBuildForHost.interpreter} setup.py build_sphinx --build-dir=$doc
53 # Hypothesis produces unreliable results: Falsified on the first call but did not on a subsequent one
54 "test_test_fileobj_save"
55 "test_test_fileobj_load"
56 "test_test_fileobj_delete"
60 pythonImportsCheck = [ "mutagen" ];
63 description = "Python module for handling audio metadata";
65 Mutagen is a Python module to handle audio metadata. It supports
66 ASF, FLAC, MP4, Monkey's Audio, MP3, Musepack, Ogg Opus, Ogg FLAC,
67 Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, WavPack, OptimFROG,
68 and AIFF audio files. All versions of ID3v2 are supported, and all
69 standard ID3v2.4 frames are parsed. It can read Xing headers to
70 accurately calculate the bitrate and length of MP3s. ID3 and APEv2
71 tags can be edited regardless of audio format. It can also
72 manipulate Ogg streams on an individual packet/page level.
74 homepage = "https://mutagen.readthedocs.io";
75 changelog = "https://mutagen.readthedocs.io/en/latest/changelog.html#release-${
76 lib.replaceStrings [ "." ] [ "-" ] version
78 license = licenses.gpl2Plus;