anchor.diff:      "-DWITH_SNAPPY=1"
       "-DWITH_ZLIB=1"
       "-DWITH_ZSTD=1"
  +    "-DWITH_GFLAGS=0"
       (lib.optional
           (stdenv.hostPlatform.system == "i686-linux"
            || stdenv.hostPlatform.system == "x86_64-linux")
  
positive.code: { stdenv, fetchFromGitHub, lib, bzip2, cmake, gflags, lz4, snappy, zlib, zstd, enableLite ? false }:
  
  stdenv.mkDerivation rec {
    pname = "rocksdb";
  
negative.code:   };
  
    nativeBuildInputs = [ cmake ];
    buildInputs = [ bzip2 lz4 snappy zlib zstd ];
  
    patches = [ ./0001-findzlib.patch ];
  
  