Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
908 B
Nix
50 lines
908 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
ffmpeg,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "ffmpeg-normalize";
|
|
version = "1.31.3";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "ffmpeg_normalize";
|
|
hash = "sha256-sewDSBUX6gCZSIHeRtpx5fQGtOKN8OWZKrtCF2bgI9Y=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
dependencies =
|
|
with python3Packages;
|
|
[
|
|
colorlog
|
|
ffmpeg-progress-yield
|
|
]
|
|
++ [ ffmpeg ];
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
|
|
$out/bin/ffmpeg-normalize --help > /dev/null
|
|
|
|
runHook postCheck
|
|
'';
|
|
|
|
meta = {
|
|
description = "Normalize audio via ffmpeg";
|
|
homepage = "https://github.com/slhck/ffmpeg-normalize";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
luftmensch-luftmensch
|
|
prusnak
|
|
];
|
|
mainProgram = "ffmpeg-normalize";
|
|
};
|
|
}
|