From 894e8ca1fc1a6866867c7227ba4e4a32e1dbc087 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 7 Feb 2022 10:58:24 -0800 Subject: [PATCH] python3Packages.pyopencl: fix deps, lint --- .../python-modules/pyopencl/default.nix | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix index a0f9e70dcc8b..8ba6acb19f60 100644 --- a/pkgs/development/python-modules/pyopencl/default.nix +++ b/pkgs/development/python-modules/pyopencl/default.nix @@ -2,18 +2,19 @@ , stdenv , fetchPypi , buildPythonPackage -, Mako -, pytest -, numpy -, cffi -, pytools -, decorator , appdirs -, six -, opencl-headers -, ocl-icd -, pybind11 +, cffi +, decorator +, Mako , mesa_drivers +, numpy +, ocl-icd +, opencl-headers +, platformdirs +, pybind11 +, pytest +, pytools +, six }: let @@ -26,7 +27,16 @@ in buildPythonPackage rec { checkInputs = [ pytest ]; buildInputs = [ opencl-headers pybind11 ] ++ os-specific-buildInputs; - propagatedBuildInputs = [ numpy cffi pytools decorator appdirs six Mako ]; + propagatedBuildInputs = [ + appdirs + cffi + decorator + Mako + numpy + platformdirs + pytools + six + ]; src = fetchPypi { inherit pname version;