Merge pull request #168125 from vtuan10/klipper-add-numpy

klipper: add numpy dependency
This commit is contained in:
Artturi 2022-04-10 22:58:30 +03:00 committed by GitHub
commit 5e16852e53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";