about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/bs1770gain/default.nix
blob: 47de14ecb25c67fa8db84cbc2dbbe5cfb2b6e110 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, ffmpeg_3, sox }:

stdenv.mkDerivation rec {
  pname = "bs1770gain";
  version = "0.5.2";

  src = fetchurl {
    url = "mirror://sourceforge/bs1770gain/${pname}-${version}.tar.gz";
    sha256 = "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk";
  };

  buildInputs = [ ffmpeg_3 sox ];

  NIX_CFLAGS_COMPILE = "-Wno-error";

  meta = with stdenv.lib; {
    description = "A audio/video loudness scanner implementing ITU-R BS.1770";
    license = licenses.gpl2Plus;
    homepage = "http://bs1770gain.sourceforge.net/";
    platforms = platforms.all;
  };
}