nixpkgs/pkgs/applications/video/ffmpeg-normalize/default.nix
Doron Behar 01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00

30 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 ];
};
}