2020-07-03 13:44:50 +02:00
|
|
|
{ stdenv, fetchurl, ffmpeg, sox }:
|
2015-09-19 14:53:09 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "bs1770gain";
|
2019-01-29 02:16:18 +01:00
|
|
|
version = "0.5.2";
|
2015-09-19 14:53:09 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/bs1770gain/${pname}-${version}.tar.gz";
|
2019-01-29 02:16:18 +01:00
|
|
|
sha256 = "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk";
|
2015-09-19 14:53:09 +02:00
|
|
|
};
|
|
|
|
|
2020-07-03 13:44:50 +02:00
|
|
|
buildInputs = [ ffmpeg sox ];
|
2015-09-19 14:53:09 +02:00
|
|
|
|
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;
|
2020-04-01 03:11:51 +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
|
|
|
};
|
|
|
|
}
|