summary refs log tree commit diff
path: root/pkgs/applications/video/ffmpeg-normalize/default.nix
blob: 4fad80c27ab19f851cd0d10b7f37a74ce626224d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonApplication
, fetchPypi
, ffmpeg
, tqdm
}:

buildPythonApplication rec {
  pname = "ffmpeg-normalize";
  version = "1.15.8";

  src = fetchPypi {
    inherit pname version;
    sha256 = "01lx1ki1iglg1dz6x99ciqx5zqlbj7hvfb12ga9m68ypjm0fcphl";
  };

  propagatedBuildInputs = [ ffmpeg tqdm ];

  checkPhase = ''
    $out/bin/ffmpeg-normalize --help > /dev/null
  '';

  meta = with lib; {
    description = "Normalize audio via ffmpeg";
    homepage = "https://github.com/slhck/ffmpeg-normalize";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ prusnak ];
  };
}