forked from mirrors/nixpkgs
The main id3v2 default.nix! I forgot it.
svn path=/nixpkgs/trunk/; revision=23518
This commit is contained in:
parent
3a0bf4d42d
commit
5994279104
28
pkgs/applications/audio/id3v2/default.nix
Normal file
28
pkgs/applications/audio/id3v2/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{stdenv, fetchurl, id3lib, groff}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "id3v2-0.1.11";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/id3v2/${name}.tar.gz";
|
||||
sha256 = "00r6f9yzmkrqa62dnkm8njg5cjzhmy0l17nj1ba15nrrm0mnand4";
|
||||
};
|
||||
|
||||
patches = [ ./id3v2-0.1.11-track-bad-free.patch ];
|
||||
|
||||
buildNativeInputs = [ groff ];
|
||||
buildInputs = [ id3lib ];
|
||||
|
||||
configurePhase = ''
|
||||
export makeFlags=PREFIX=$out
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
ensureDir $out/bin $out/man/man1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A command line editor for id3v2 tags";
|
||||
homepage = http://id3v2.sourceforge.net/;
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue