66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
29 lines
608 B
Nix
29 lines
608 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchPypi
|
|
, ffmpeg
|
|
, tqdm
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "ffmpeg-normalize";
|
|
version = "1.19.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "18dpck9grnr3wgbjvdh4mjlx0zfwcxpy4rnpmc39in0yk3w7li2x";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|