libnfc: fix build on darwin
This commit is contained in:
parent
e1a1cfb565
commit
442481052a
@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libusb-compat-0_1 readline ];
|
||||
|
||||
configureFlags = [ "sysconfdir=/etc" ];
|
||||
cmakeFlags = lib.optionals stdenv.isDarwin [ "-DLIBNFC_DRIVER_PN532_I2C=OFF" "-DLIBNFC_DRIVER_PN532_SPI=OFF" ];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Open source library libnfc for Near Field Communication";
|
||||
license = licenses.gpl3;
|
||||
homepage = "https://github.com/nfc-tools/libnfc";
|
||||
|
Loading…
Reference in New Issue
Block a user