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