nixpkgs/pkgs/applications/audio/id3v2/default.nix

29 lines
682 B
Nix
Raw Normal View History

{stdenv, fetchurl, id3lib, groff, zlib}:
stdenv.mkDerivation rec {
pname = "id3v2";
version = "0.1.12";
src = fetchurl {
url = "mirror://sourceforge/id3v2/${pname}-${version}.tar.gz";
2015-04-19 01:29:31 +00:00
sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
};
nativeBuildInputs = [ groff ];
buildInputs = [ id3lib zlib ];
makeFlags = [ "PREFIX=$(out)" ];
buildFlags = [ "clean" "all" ];
preInstall = ''
2015-04-19 01:29:31 +00:00
mkdir -p $out/{bin,share/man/man1}
'';
2015-04-19 01:29:31 +00:00
meta = with stdenv.lib; {
description = "A command line editor for id3v2 tags";
homepage = http://id3v2.sourceforge.net/;
2015-04-19 01:29:31 +00:00
license = licenses.gpl2Plus;
platforms = with platforms; unix;
};
}