anchor.diff:      license = licenses.agpl3;
       maintainers = with maintainers; [ mmahut _1000101 ];
       platforms = platforms.unix;
  -    # go dependency tecbot/gorocksdb requires rocksdb 5.x but nixpkgs has only rocksdb 6.x
  -    # issue in upstream can be tracked here: https://github.com/trezor/blockbook/issues/617
  -    broken = true;
     };
   }
  
positive.code: 
  buildGoModule rec {
    pname = "blockbook";
    version = "0.3.4";
    commit = "eb4e10a";
  
    src = fetchFromGitHub {
      owner = "trezor";
      repo = "blockbook";
      rev = "v${version}";
      sha256 = "0da1kav5x2xcmwvdgfk1q70l1k0sqqj3njgx2xx885d40m6qbnrs";
    };
  
    runVend = true;
    vendorSha256 = "0p7vyw61nwvmaz7gz2bdh9fi6wp62i2vnzw6iz2r8cims4sbz53b";
  
    doCheck = false;
  
    nativeBuildInputs = [ packr pkg-config ];
  
    buildInputs = [ bzip2 lz4 rocksdb snappy zeromq zlib ];
  
  
negative.code: { lib
  , stdenv
  , buildGoModule
  , fetchFromGitHub
  , pkg-config
  , bzip2
  , lz4
  