anchor.diff:      expat
       fontconfig
       freetype
  +    gdk-pixbuf
       glib
       gnome2.GConf
  -    gdk-pixbuf
       gtk3
  -    pango
  +    libdrm
       libnotify
       libsecret
       libuuid
       libxcb
  +    libxkbcommon
  +    mesa
       nspr
       nss
  +    pango
       stdenv.cc.cc
       systemd
  -
  -    xorg.libxkbfile
       xorg.libX11
  +    xorg.libXScrnSaver
       xorg.libXcomposite
       xorg.libXcursor
       xorg.libXdamage
  
positive.code: 
    meta = with lib; {
      description = "The GUI for MongoDB";
      homepage = "https://www.mongodb.com/products/compass";
      license = licenses.unfree;
      platforms = [ "x86_64-linux" ];
    };
  }
  
negative.code:     xorg.libXrandr
      xorg.libXrender
      xorg.libXtst
      xorg.libxkbfile
      xorg.libxshmfence
      (lib.getLib stdenv.cc.cc)
    ];
  
    src =
      if stdenv.hostPlatform.system == "x86_64-linux" then
        fetchurl {
          url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb";
          sha256 = "sha256-CqC6BrRhMfjxamSwC6ub1u3+FtDuIq3/OMNdUZgpCAQ=";
        }
      else
        throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
  