bs1770gain: init at 0.4.7

I've been trying to package this a while ago but found out that apart
from the hand-rolled build system a few sources were missing I didn't
continue to work on it.

This was the WIP expression:

https://gist.github.com/aszlig/c271f294410cc5af0f0a

Now, since the latest upstream version, the project uses autoconf and
automake, which makes it very much painless for us.

So now I can watch demoscene videos without getting hearing loss because
of volume differences :-)

Also, this might be useful for beets as well, in case they're going to
move away from using python-audiotools:

https://github.com/sampsyo/beets/issues/1342#issuecomment-86807500

Signed-off-by: aszlig <aszlig@redmoonstudios.org>

aszlig 7ab8dde5 9a39c2e9

Changed files
+22
pkgs
applications
audio
bs1770gain
top-level
+20
pkgs/applications/audio/bs1770gain/default.nix
···
···
+
{ stdenv, fetchurl, ffmpeg, sox }:
+
+
stdenv.mkDerivation rec {
+
name = "bs1770gain-${version}";
+
version = "0.4.7";
+
+
src = fetchurl {
+
url = "mirror://sourceforge/bs1770gain/${name}.tar.gz";
+
sha256 = "0dnypm7k4axc693g0z73n2mvycbzgc4lnj2am64xjzyg37my4qzz";
+
};
+
+
buildInputs = [ ffmpeg sox ];
+
+
meta = {
+
description = "A audio/video loudness scanner implementing ITU-R BS.1770";
+
license = stdenv.lib.licenses.gpl2Plus;
+
homepage = "http://bs1770gain.sourceforge.net/";
+
platforms = stdenv.lib.platforms.all;
+
};
+
}
+2
pkgs/top-level/all-packages.nix
···
bristol = callPackage ../applications/audio/bristol { };
bspwm = callPackage ../applications/window-managers/bspwm { };
bvi = callPackage ../applications/editors/bvi { };
···
bristol = callPackage ../applications/audio/bristol { };
+
bs1770gain = callPackage ../applications/audio/bs1770gain { };
+
bspwm = callPackage ../applications/window-managers/bspwm { };
bvi = callPackage ../applications/editors/bvi { };