From 93a5aeb5ade89f64c219a91e472f7fa904792cbc 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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..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"; + }; +}