8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
28 lines
684 B
Nix
28 lines
684 B
Nix
{stdenv, fetchurl, id3lib, groff, zlib}:
|
|
|
|
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}
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A command line editor for id3v2 tags";
|
|
homepage = "http://id3v2.sourceforge.net/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|