2015-09-19 13:53:09 +01:00
|
|
|
{ stdenv, fetchurl, ffmpeg, sox }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bs1770gain-${version}";
|
2017-03-05 14:36:55 +00:00
|
|
|
version = "0.4.12";
|
2015-09-19 13:53:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/bs1770gain/${name}.tar.gz";
|
2017-03-05 14:36:55 +00:00
|
|
|
sha256 = "0n9skdap1vnl6w52fx0gsrjlk7w3xgdwi62ycyf96h29rx059z6a";
|
2015-09-19 13:53:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ffmpeg sox ];
|
|
|
|
|
2016-08-11 23:37:13 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
|
|
|
|
2017-03-05 14:36:55 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-19 13:53:09 +01:00
|
|
|
description = "A audio/video loudness scanner implementing ITU-R BS.1770";
|
2017-03-05 14:36:55 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-09-19 13:53:09 +01:00
|
|
|
homepage = "http://bs1770gain.sourceforge.net/";
|
2017-03-05 14:36:55 +00:00
|
|
|
platforms = platforms.all;
|
2015-09-19 13:53:09 +01:00
|
|
|
};
|
|
|
|
}
|