klipper: add numpy dependency
Numpy is required in klipper to measure resonances via hardware like the adxl345 board.
This commit is contained in:
parent
b225754c1b
commit
33823d491d
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
# NB: This is needed for the postBuild step
|
# NB: This is needed for the postBuild step
|
||||||
nativeBuildInputs = [ (python2.withPackages ( p: with p; [ cffi ] )) ];
|
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.
|
# we need to run this to prebuild the chelper.
|
||||||
postBuild = "python2 ./chelper/__init__.py";
|
postBuild = "python2 ./chelper/__init__.py";
|
||||||
|
|
Loading…
Reference in a new issue