From e3d6f3d595644a3cf9af6fcb7845c94d423f7596 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Thu, 22 Jan 2015 19:15:08 +0100 Subject: [PATCH] vorbisgain: update from 0.34 to 0.37 also add meta-information --- pkgs/tools/misc/vorbisgain/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/vorbisgain/default.nix b/pkgs/tools/misc/vorbisgain/default.nix index 0c3fb212293..ea61e063328 100644 --- a/pkgs/tools/misc/vorbisgain/default.nix +++ b/pkgs/tools/misc/vorbisgain/default.nix @@ -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 ]; + }; }