2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
python,
|
|
|
|
isPyPy,
|
|
|
|
six,
|
|
|
|
filetype,
|
|
|
|
deprecation,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.9.7";
|
2024-06-05 15:53:02 +00:00
|
|
|
pname = "eyeD3";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = isPyPy;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-k7GOk5M3akURT5QJ18yhGftvT5o31LaXtQCvSLTFzw8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# requires special test data:
|
|
|
|
# https://github.com/nicfit/eyeD3/blob/103198e265e3279384f35304e8218be6717c2976/Makefile#L97
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [
|
2022-12-17 10:02:37 +00:00
|
|
|
deprecation
|
|
|
|
filetype
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python module and command line program for processing ID3 tags";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "eyeD3";
|
2024-06-05 15:53:02 +00:00
|
|
|
homepage = "https://eyed3.nicfit.net/";
|
|
|
|
license = licenses.gpl2;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2024-06-05 15:53:02 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
eyeD3 is a Python module and command line program for processing ID3
|
|
|
|
tags. Information about mp3 files (i.e bit rate, sample frequency, play
|
|
|
|
time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1
|
|
|
|
and v2.3/v2.4.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|