1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPyPy,
6 six,
7 filetype,
8 deprecation,
9}:
10
11buildPythonPackage rec {
12 version = "0.9.7";
13 pname = "eyeD3";
14 disabled = isPyPy;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-k7GOk5M3akURT5QJ18yhGftvT5o31LaXtQCvSLTFzw8=";
19 };
20
21 # requires special test data:
22 # https://github.com/nicfit/eyeD3/blob/103198e265e3279384f35304e8218be6717c2976/Makefile#L97
23 doCheck = false;
24
25 propagatedBuildInputs = [
26 deprecation
27 filetype
28 six
29 ];
30
31 meta = with lib; {
32 description = "Python module and command line program for processing ID3 tags";
33 mainProgram = "eyeD3";
34 homepage = "https://eyed3.nicfit.net/";
35 license = licenses.gpl2;
36 maintainers = with maintainers; [ lovek323 ];
37 platforms = platforms.unix;
38 longDescription = ''
39 eyeD3 is a Python module and command line program for processing ID3
40 tags. Information about mp3 files (i.e bit rate, sample frequency, play
41 time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1
42 and v2.3/v2.4.
43 '';
44 };
45}