From f15b60b4cb9052938adfd6529c8bf4b61dcad4f6 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Wed, 14 Feb 2024 22:51:09 -0600 Subject: [PATCH] ffpb: init at 0.4.1 --- .../python-modules/ffpb/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/ffpb/default.nix diff --git a/pkgs/development/python-modules/ffpb/default.nix b/pkgs/development/python-modules/ffpb/default.nix new file mode 100644 index 00000000000000..198fc80d2f6ec0 --- /dev/null +++ b/pkgs/development/python-modules/ffpb/default.nix @@ -0,0 +1,25 @@ +{ lib, buildPythonPackage, fetchPypi, tqdm }: + +buildPythonPackage rec { + pname = "ffpb"; + version = "0.4.1"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + sha256 = "7eVqbLpMHS1sBw2vYS4cTtyVdnnknGtEI8190VlXflk="; + }; + + propagatedBuildInputs = [ tqdm ]; + + # tests require working internet connection + doCheck = false; + + meta = with lib; { + description = + "ffpb is an FFmpeg progress formatter. It will attempt to display a nice progress bar in the output, based on the raw ffmpeg output, as well as an adaptative ETA timer."; + homepage = "https://github.com/althonos/ffpb"; + license = licenses.mit; + maintainers = with maintainers; [ CaptainJawZ ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aec7ccef263e2e..97b625bb1ffcea 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21119,6 +21119,8 @@ with pkgs; ffms = callPackage ../development/libraries/ffms { }; + ffpb = with python3Packages; toPythonApplication ffpb; + fftw = callPackage ../development/libraries/fftw { }; fftwSinglePrec = fftw.override { precision = "single"; }; fftwFloat = fftwSinglePrec; # the configure option is just an alias diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 92354bbb789b51..bca80acfbcc4c0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4025,6 +4025,8 @@ self: super: with self; { ffmpy = callPackage ../development/python-modules/ffmpy { }; + ffpb = callPackage ../development/python-modules/ffpb { }; + fhir-py = callPackage ../development/python-modules/fhir-py { }; fiblary3-fork = callPackage ../development/python-modules/fiblary3-fork { };