anchor.diff:      jsoncpp
     ];
   
  +  preConfigure = ''
  +    ( cd src/config
  +      ln -s $common/protob/config.proto
  +      protoc -I . --cpp_out=. config.proto
  +    )
  +  '';
  +
     LD_LIBRARY_PATH = "${stdenv.lib.makeLibraryPath [ curl ]}";
  -  cmakeFlags="-DJSONCPP_LIBRARY='${jsoncpp}/lib/libjsoncpp.so'";
  +  cmakeFlags = [ "-DJSONCPP_LIBRARY='${jsoncpp}/lib/libjsoncpp.so'" ];
   
     installPhase = ''
       mkdir -p $out/bin
  
positive.code:     url    = "https://github.com/trezor/trezord";
      rev    = "refs/tags/v${version}";
      sha256 = "1iaxmwyidjdcrc6jg0859v6v5x3qnz5b0p78pq0bypvmgyijhpm4";
    };
  
    meta = with stdenv.lib; {
  
negative.code: { stdenv, fetchgit, fetchFromGitHub, curl, cmake, boost, gcc, protobuf, pkgconfig, jsoncpp
  , libusb1, libmicrohttpd
  }:
  
  