libusb1: fix build on darwin via dropping udev (close #920)

vcunat edit: we have udev (systemd) only on Linux systems,
extend platforms so we know about breakages from Hydra.
This commit is contained in:
Jason \"Don\" O'Conal 2013-09-06 09:00:56 +10:00 committed by Vladimír Čunát
parent bcec0454e9
commit e1dc4d8ea8

View File

@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
};
buildInputs = [ pkgconfig ];
propagatedBuildInputs = [ udev ];
propagatedBuildInputs = stdenv.lib.optional (stdenv.isLinux) udev;
meta = {
homepage = http://www.libusb.org;
description = "User-space USB library";
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}