anchor.diff:  , mock
   , msgpack
   , passlib
  -  # , py-ecc
  -  # , py-eth-sig-utils
  +, py-ecc
  +, py-eth-sig-utils
   , py-multihash
   , py-ubjson
   , pynacl
   , pygobject3
   , pyopenssl
  -, pyqrcode
  +, qrcode
   , pytest-asyncio
   , python-snappy
   , pytestCheckHook
  
positive.code: 
  buildPythonPackage rec {
    pname = "autobahn";
    version = "22.4.2";
    format = "setuptools";
  
    disabled = pythonOlder "3.7";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "sha256-V7es8ijVDYPPMnNyuInioWioaSdbJuF5F+0LTPTYI6Y=";
    };
  
    patches = [
      # fix txaio compatibility
      (fetchpatch {
        url = "https://github.com/crossbario/autobahn-python/commit/2e2ee5f9775ed312db699f5c55fc0488311735a5.patch";
        excludes = [
          "setup.py"
          "tox.ini"
        ];
        sha256 = "sha256-LQSusXZwDpxyQl4tphZovaYceg/JVG0SyoA9FUQlVWU=";
      })
    ];
  
    propagatedBuildInputs = [
      cryptography
  
negative.code:     all = accelerate ++ compress ++ encryption ++ nvx ++ serialization ++ scram ++ twisted ++ ui ++ xbr;
      accelerate = [ /* wsaccel */ ];
      compress = [ python-snappy ];
      encryption = [ pynacl pyopenssl qrcode /* pytrie */ service-identity ];
      nvx = [ cffi ];
      scram = [ argon2-cffi cffi passlib ];
      serialization = [ cbor2 flatbuffers msgpack ujson py-ubjson ];
      twisted = [ attrs args.twisted zope_interface ];
      ui = [ pygobject3 ];
      xbr = [ base58 cbor2 click ecdsa eth-abi jinja2 hkdf mnemonic py-ecc py-eth-sig-utils py-multihash rlp spake2 twisted /* web3 xbr */ yapf /* zlmdb */ ];
    };
  
    meta = with lib; {
  