at 23.11-beta 1.3 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 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 postInstall = '' 32 for prog in "$out/bin/"*; do 33 wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" \ 34 --prefix PATH : ${python}/bin 35 done 36 ''; 37 38 meta = with lib; { 39 description = "A Python module and command line program for processing ID3 tags"; 40 homepage = "https://eyed3.nicfit.net/"; 41 license = licenses.gpl2; 42 maintainers = with maintainers; [ lovek323 ]; 43 platforms = platforms.unix; 44 longDescription = '' 45 eyeD3 is a Python module and command line program for processing ID3 46 tags. Information about mp3 files (i.e bit rate, sample frequency, play 47 time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1 48 and v2.3/v2.4. 49 ''; 50 }; 51}