vorbisgain: update from 0.34 to 0.37

also add meta-information
This commit is contained in:
Pascal Wittmann 2015-01-22 19:15:08 +01:00
parent 6bc900d9e7
commit e3d6f3d595

View File

@ -1,17 +1,24 @@
{ stdenv, fetchurl, unzip, libogg, libvorbis }:
stdenv.mkDerivation rec {
name = "vorbisgain-0.34";
name = "vorbisgain-0.37";
src = fetchurl {
url = "http://sjeng.org/ftp/vorbis/${name}.zip";
sha256 = "1sjxl20ahhjv63b8a99sq9p14vz3lf1gacivkk0x2c11cc9zw4nr";
url = "http://sjeng.org/ftp/vorbis/${name}.tar.gz";
sha256 = "1v1h6mhnckmvvn7345hzi9abn5z282g4lyyl4nnbqwnrr98v0vfx";
};
buildInputs = [ unzip libogg libvorbis ];
patchPhase = ''
chmod -v +x configure
sed -e 's/^ /\t/' -i Makefile.*
configureFlags="--mandir=$out/share/man"
'';
meta = with stdenv.lib; {
homepage = http://sjeng.org/vorbisgain.html;
description = "A utility that corrects the volume of an Ogg Vorbis file to a predefined standardized loudness";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}