1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
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-03-31 05:34:28 +01:00
version = "1.15.8";
2020-03-14 16:54:45 +00:00
src = fetchPypi {
inherit pname version;
2020-03-31 05:34:28 +01:00
sha256 = "01lx1ki1iglg1dz6x99ciqx5zqlbj7hvfb12ga9m68ypjm0fcphl";
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 ];
};
}