b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
29 lines
641 B
Nix
29 lines
641 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchPypi
|
|
, ffmpeg
|
|
, ffmpeg-progress-yield
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "ffmpeg-normalize";
|
|
version = "1.25.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-IIgFnDPgeQrsleIzzFr4Q0Kz8bCzs0gFluFw+9Dub7I=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ffmpeg ffmpeg-progress-yield ];
|
|
|
|
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 ];
|
|
};
|
|
}
|