From ae70f31dc97631d2937bd6becac8f42cb09793be Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Wed, 30 Oct 2024 09:44:06 -0600 Subject: [PATCH] ffpb: init at 0.4.1 Co-authored-by: Arne Keller <2012gdwu+github@posteo.de> --- pkgs/by-name/ff/ffpb/package.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/ff/ffpb/package.nix diff --git a/pkgs/by-name/ff/ffpb/package.nix b/pkgs/by-name/ff/ffpb/package.nix new file mode 100644 index 0000000000000..58849973955a8 --- /dev/null +++ b/pkgs/by-name/ff/ffpb/package.nix @@ -0,0 +1,29 @@ +{ + lib, + python3Packages, + fetchPypi, +}: + +python3Packages.buildPythonApplication rec { + pname = "ffpb"; + version = "0.4.1"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + sha256 = "7eVqbLpMHS1sBw2vYS4cTtyVdnnknGtEI8190VlXflk="; + }; + + propagatedBuildInputs = [ 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"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ CaptainJawZ ]; + mainProgram = "ffpb"; + }; +}