d7dbe45cea
GitOrigin-RevId: 9480bae337095fd24f61380bce3174fdfe926a00
29 lines
612 B
Nix
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 ];
|
|
};
|
|
}
|