python3.pkgs.libiio: fix build

Add missing setuptools dependency.
This commit is contained in:
Martin Povišer 2020-09-17 09:08:54 +02:00
parent eaf667bbf0
commit ce0a59cb9f

View File

@ -7,6 +7,7 @@
, python , python
, libusb1 , libusb1
, runtimeShell , runtimeShell
, lib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
python python
libxml2 libxml2
libusb1 libusb1
]; ] ++ lib.optional python.isPy3k python.pkgs.setuptools;
cmakeFlags = [ cmakeFlags = [
"-DUDEV_RULES_INSTALL_DIR=${placeholder "out"}/lib/udev/rules.d" "-DUDEV_RULES_INSTALL_DIR=${placeholder "out"}/lib/udev/rules.d"