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

30 lines
608 B
Nix
Raw Normal View History

2020-03-14 16:54:45 +00:00
{ lib
, buildPythonApplication
, fetchPypi
, ffmpeg
, tqdm
}:
buildPythonApplication rec {
pname = "ffmpeg-normalize";
2020-05-05 09:37:45 +01:00
version = "1.19.0";
2020-03-14 16:54:45 +00:00
src = fetchPypi {
inherit pname version;
2020-05-05 09:37:45 +01:00
sha256 = "18dpck9grnr3wgbjvdh4mjlx0zfwcxpy4rnpmc39in0yk3w7li2x";
2020-03-14 16:54:45 +00:00
};
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 ];
};
}