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