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

+22
+20
pkgs/applications/audio/bs1770gain/default.nix
··· 1 + { stdenv, fetchurl, ffmpeg, sox }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "bs1770gain-${version}"; 5 + version = "0.4.7"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/bs1770gain/${name}.tar.gz"; 9 + sha256 = "0dnypm7k4axc693g0z73n2mvycbzgc4lnj2am64xjzyg37my4qzz"; 10 + }; 11 + 12 + buildInputs = [ ffmpeg sox ]; 13 + 14 + meta = { 15 + description = "A audio/video loudness scanner implementing ITU-R BS.1770"; 16 + license = stdenv.lib.licenses.gpl2Plus; 17 + homepage = "http://bs1770gain.sourceforge.net/"; 18 + platforms = stdenv.lib.platforms.all; 19 + }; 20 + }
+2
pkgs/top-level/all-packages.nix
··· 10745 10745 10746 10746 bristol = callPackage ../applications/audio/bristol { }; 10747 10747 10748 + bs1770gain = callPackage ../applications/audio/bs1770gain { }; 10749 + 10748 10750 bspwm = callPackage ../applications/window-managers/bspwm { }; 10749 10751 10750 10752 bvi = callPackage ../applications/editors/bvi { };