Merge pull request #8524 from cpages/master

abcde: update to 2.7 and fix mp3 tagging

+14 -12
+8 -8
pkgs/applications/audio/abcde/default.nix
··· 1 - { stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools, id3v2, lame, flac, eject, mkcue 1 + { stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools, id3v2, eyeD3 2 + , lame, flac, eject, mkcue 2 3 , perl, DigestSHA, MusicBrainz, MusicBrainzDiscID 3 4 , makeWrapper }: 4 5 5 - let version = "2.6"; 6 + let version = "2.7"; 6 7 in 7 8 stdenv.mkDerivation { 8 9 name = "abcde-${version}"; 9 10 src = fetchurl { 10 - url = "mirror://debian/pool/main/a/abcde/abcde_${version}.orig.tar.gz"; 11 - sha256 = "0y2cg233n2hixs0ji76dggpzgf52v4c4mnpwiai889ql2piafgk8"; 11 + url = "http://abcde.einval.com/download/abcde-${version}.tar.gz"; 12 + sha256 = "0ikpffzvacadh6vj9qlary8126j1zrd2knp9gvivmp7y1656jj01"; 12 13 }; 13 14 14 - # FIXME: This package does not support MP3 encoding (only Ogg), 15 - # nor `distmp3', `eject', etc. 15 + # FIXME: This package does not support `distmp3', `eject', etc. 16 16 17 17 patches = [ ./abcde.patch ]; 18 18 ··· 50 50 --replace '#!/usr/bin/perl' '#!${perl}/bin/perl' 51 51 52 52 wrapProgram "$out/bin/abcde" --prefix PATH ":" \ 53 - "$out/bin:${libcdio}/bin:${cddiscid}/bin:${wget}/bin:${vorbisTools}/bin:${id3v2}/bin:${lame}/bin" 53 + "$out/bin:${libcdio}/bin:${cddiscid}/bin:${wget}/bin:${vorbisTools}/bin:${id3v2}/bin:${eyeD3}/bin:${lame}/bin" 54 54 55 55 wrapProgram "$out/bin/cddb-tool" --prefix PATH ":" \ 56 56 "${wget}/bin" ··· 60 60 ''; 61 61 62 62 meta = { 63 - homepage = "http://lly.org/~rcw/abcde/page/"; 63 + homepage = http://abcde.einval.com/wiki/; 64 64 license = stdenv.lib.licenses.gpl2Plus; 65 65 description = "Command-line audio CD ripper"; 66 66
+1
pkgs/top-level/all-packages.nix
··· 10564 10564 10565 10565 abcde = callPackage ../applications/audio/abcde { 10566 10566 inherit (perlPackages) DigestSHA MusicBrainz MusicBrainzDiscID; 10567 + inherit (pythonPackages) eyeD3; 10567 10568 libcdio = libcdio082; 10568 10569 }; 10569 10570
+5 -4
pkgs/top-level/python-packages.nix
··· 3057 3057 3058 3058 3059 3059 eyeD3 = buildPythonPackage rec { 3060 - version = "0.7.4"; 3060 + version = "0.7.8"; 3061 3061 name = "eyeD3-${version}"; 3062 3062 disabled = isPyPy; 3063 3063 3064 3064 src = pkgs.fetchurl { 3065 - url = "http://eyed3.nicfit.net/releases/${name}.tgz"; 3066 - sha256 = "001hzgqqnf2ig432mq78jsxidpky2rl2ilm28xwjp32vzphycf51"; 3065 + url = "http://eyed3.nicfit.net/releases/${name}.tar.gz"; 3066 + sha256 = "1nv7nhfn1d0qm7rgkzksbccgqisng8klf97np0nwaqwd5dbmdf86"; 3067 3067 }; 3068 3068 3069 3069 buildInputs = with self; [ paver ]; 3070 3070 3071 3071 postInstall = '' 3072 3072 for prog in "$out/bin/"*; do 3073 - wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" 3073 + wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" \ 3074 + --prefix PATH : ${python}/bin 3074 3075 done 3075 3076 ''; 3076 3077