nixpkgs/pkgs/applications/video/ffmpeg-normalize/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
679 B
Nix
Raw Normal View History

2020-03-14 16:54:45 +00:00
{ lib
, buildPythonApplication
, fetchPypi
2021-04-27 10:52:37 +00:00
, ffmpeg
, ffmpeg-progress-yield
2020-03-14 16:54:45 +00:00
}:
buildPythonApplication rec {
pname = "ffmpeg-normalize";
2023-01-19 10:26:56 +00:00
version = "1.26.1";
2020-03-14 16:54:45 +00:00
src = fetchPypi {
inherit pname version;
2023-01-19 10:26:56 +00:00
sha256 = "sha256-OwREpfWaP0tdAjMGjGpVIAQn8rlTTjSfT+0t5g/2yjQ=";
2020-03-14 16:54:45 +00:00
};
2021-04-27 10:52:37 +00:00
propagatedBuildInputs = [ ffmpeg ffmpeg-progress-yield ];
2020-03-14 16:54:45 +00:00
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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "ffmpeg-normalize";
2020-03-14 16:54:45 +00:00
};
}