2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, id3lib, groff, zlib}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "id3v2";
|
|
|
|
version = "0.1.12";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/id3v2/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ groff ];
|
|
|
|
buildInputs = [ id3lib zlib ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
buildFlags = [ "clean" "all" ];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/{bin,share/man/man1}
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Command line editor for id3v2 tags";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://id3v2.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = with platforms; unix;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "id3v2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|