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