diff --git a/pkgs/by-name/ff/ffpb/package.nix b/pkgs/by-name/ff/ffpb/package.nix new file mode 100644 index 0000000000000..669e3acb8fde1 --- /dev/null +++ b/pkgs/by-name/ff/ffpb/package.nix @@ -0,0 +1,32 @@ +{ + 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"; + }; +}