klipper: add numpy to buildInputs

This is required for resonance measurement using `TEST_RESONANCES`.

See also https://www.klipper3d.org/Measuring_Resonances.html
This commit is contained in:
Richard Marko 2022-10-18 11:22:05 +02:00
parent dbf1d73cd1
commit 77c9638898

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
# NB: This is needed for the postBuild step
nativeBuildInputs = [ (python3.withPackages ( p: with p; [ cffi ] )) ];
buildInputs = [ (python3.withPackages (p: with p; [ cffi pyserial greenlet jinja2 markupsafe ])) ];
buildInputs = [ (python3.withPackages (p: with p; [ cffi pyserial greenlet jinja2 markupsafe numpy ])) ];
# we need to run this to prebuild the chelper.
postBuild = ''