anchor.diff:  , openssl
   , udev
   , zlib
  +, pcsclite
   }:
   
   stdenv.mkDerivation rec {
  
positive.code: 
    buildInputs = [ libcbor openssl zlib ]
      ++ lib.optionals stdenv.isDarwin [ hidapi ]
      ++ lib.optionals stdenv.isLinux [ udev ];
  
    cmakeFlags = [
      "-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d"
  
negative.code:     "-DUSE_HIDAPI=1"
    ] ++ lib.optionals stdenv.isLinux [
      "-DNFC_LINUX=1"
      "-DUSE_PCSC=1"
    ];
  
    meta = with lib; {
  