2013-08-27 18:23:24 +02:00
|
|
|
{stdenv, fetchurl, id3lib, groff, zlib}:
|
2010-08-29 21:27:44 +02:00
|
|
|
|
2015-04-19 03:29:31 +02:00
|
|
|
let version = "0.1.12"; in
|
2010-08-29 21:27:44 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-19 03:29:31 +02:00
|
|
|
name = "id3v2-${version}";
|
2010-08-29 21:27:44 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/id3v2/${name}.tar.gz";
|
2015-04-19 03:29:31 +02:00
|
|
|
sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
|
2010-08-29 21:27:44 +02:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2015-04-19 03:29:31 +02:00
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
buildFlags = "clean all";
|
2010-08-29 21:27:44 +02:00
|
|
|
|
|
|
|
preInstall = ''
|
2015-04-19 03:29:31 +02:00
|
|
|
mkdir -p $out/{bin,share/man/man1}
|
2010-08-29 21:27:44 +02:00
|
|
|
'';
|
|
|
|
|
2015-04-19 03:29:31 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit version;
|
2010-08-29 21:27:44 +02:00
|
|
|
description = "A command line editor for id3v2 tags";
|
|
|
|
homepage = http://id3v2.sourceforge.net/;
|
2015-04-19 03:29:31 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
2010-08-29 21:27:44 +02:00
|
|
|
};
|
|
|
|
}
|