2013-08-27 20:23:24 +04:00
|
|
|
{stdenv, fetchurl, id3lib, groff, zlib}:
|
2010-08-29 23:27:44 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "id3v2";
|
2016-01-24 22:31:44 +03:00
|
|
|
version = "0.1.12";
|
|
|
|
|
2010-08-29 23:27:44 +04:00
|
|
|
src = fetchurl {
|
2019-08-15 15:41:18 +03:00
|
|
|
url = "mirror://sourceforge/id3v2/${pname}-${version}.tar.gz";
|
2015-04-19 04:29:31 +03:00
|
|
|
sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
|
2010-08-29 23:27:44 +04:00
|
|
|
};
|
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ groff ];
|
2013-08-27 20:23:24 +04:00
|
|
|
buildInputs = [ id3lib zlib ];
|
2010-08-29 23:27:44 +04:00
|
|
|
|
2015-11-26 20:44:44 +03:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
buildFlags = [ "clean" "all" ];
|
2010-08-29 23:27:44 +04:00
|
|
|
|
|
|
|
preInstall = ''
|
2015-04-19 04:29:31 +03:00
|
|
|
mkdir -p $out/{bin,share/man/man1}
|
2010-08-29 23:27:44 +04:00
|
|
|
'';
|
|
|
|
|
2015-04-19 04:29:31 +03:00
|
|
|
meta = with stdenv.lib; {
|
2010-08-29 23:27:44 +04:00
|
|
|
description = "A command line editor for id3v2 tags";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://id3v2.sourceforge.net/";
|
2015-04-19 04:29:31 +03:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = with platforms; unix;
|
2010-08-29 23:27:44 +04:00
|
|
|
};
|
|
|
|
}
|