depot/third_party/nixpkgs/pkgs/applications/video/ffmpeg-normalize/default.nix
Default email d7dbe45cea Project import generated by Copybara.
GitOrigin-RevId: 9480bae337095fd24f61380bce3174fdfe926a00
2020-06-18 09:06:33 +02:00

29 lines
612 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
, ffmpeg_3
, tqdm
}:
buildPythonApplication rec {
pname = "ffmpeg-normalize";
version = "1.19.0";
src = fetchPypi {
inherit pname version;
sha256 = "18dpck9grnr3wgbjvdh4mjlx0zfwcxpy4rnpmc39in0yk3w7li2x";
};
propagatedBuildInputs = [ ffmpeg_3 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 ];
};
}