2013-08-27 18:23:24 +02:00
|
|
|
{stdenv, fetchurl, id3lib, groff, zlib}:
|
2010-08-29 21:27:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "id3v2-0.1.11";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/id3v2/${name}.tar.gz";
|
|
|
|
sha256 = "00r6f9yzmkrqa62dnkm8njg5cjzhmy0l17nj1ba15nrrm0mnand4";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./id3v2-0.1.11-track-bad-free.patch ];
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ groff ];
|
2013-08-27 18:23:24 +02:00
|
|
|
buildInputs = [ id3lib zlib ];
|
2010-08-29 21:27:44 +02:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
export makeFlags=PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin $out/man/man1
|
2010-08-29 21:27:44 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A command line editor for id3v2 tags";
|
|
|
|
homepage = http://id3v2.sourceforge.net/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-08-29 21:27:44 +02:00
|
|
|
};
|
|
|
|
}
|