klipper: add numpy dependency

Numpy is required in klipper to measure resonances via hardware like the
adxl345 board.
This commit is contained in:
Van Tuan Vo 2022-04-10 12:58:45 +02:00
parent b225754c1b
commit 33823d491d
No known key found for this signature in database
GPG key ID: 7C96B1B77958A566

View file

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