nixpkgs/pkgs/by-name/ff/ffpb/package.nix
Danilo Reyes 93a5aeb5ad ffpb: init at 0.4.1
Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
2024-12-14 13:08:25 -06:00

33 lines
791 B
Nix

{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "ffpb";
version = "0.4.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "7eVqbLpMHS1sBw2vYS4cTtyVdnnknGtEI8190VlXflk=";
};
build-system = [ python3Packages.setuptools ];
dependencies = [ python3Packages.tqdm ];
# tests require working internet connection
doCheck = false;
meta = {
description = "FFmpeg progress formatter to display a nice progress bar and an adaptative ETA timer";
homepage = "https://github.com/althonos/ffpb";
changelog = "https://github.com/althonos/ffpb/blob/master/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ CaptainJawZ ];
mainProgram = "ffpb";
};
}