summary refs log tree commit diff
path: root/pkgs/tools/misc/vorbisgain/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/vorbisgain/default.nix')
-rw-r--r--pkgs/tools/misc/vorbisgain/default.nix15
1 files 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 ];
+  };
 }