diff options
Diffstat (limited to 'pkgs/development/python-modules/ffcv/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/ffcv/default.nix | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/ffcv/default.nix b/pkgs/development/python-modules/ffcv/default.nix index a3dd531c1285..05750d9baed3 100644 --- a/pkgs/development/python-modules/ffcv/default.nix +++ b/pkgs/development/python-modules/ffcv/default.nix @@ -1,14 +1,15 @@ -{ buildPythonPackage -, fetchFromGitHub -, lib -, libjpeg -, numba -, opencv4 -, pandas -, pkg-config -, pytorch-pfn-extras -, terminaltables -, tqdm +{ + buildPythonPackage, + fetchFromGitHub, + lib, + libjpeg, + numba, + opencv4, + pandas, + pkg-config, + pytorch-pfn-extras, + terminaltables, + tqdm, }: buildPythonPackage rec { @@ -37,7 +38,14 @@ buildPythonPackage rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ libjpeg ]; - propagatedBuildInputs = [ opencv4 numba pandas pytorch-pfn-extras terminaltables tqdm ]; + propagatedBuildInputs = [ + opencv4 + numba + pandas + pytorch-pfn-extras + terminaltables + tqdm + ]; # `ffcv._libffcv*.so` cannot be loaded in the nix build environment for some # reason. See https://github.com/NixOS/nixpkgs/pull/160441#issuecomment-1045204722. |
