anchor.diff:      )
     '';
   
  -  postInstall = ''
  -    mkdir -pv $out/share/applications
  -    cp ${desktopItem}/share/applications/* $out/share/applications
  -  '';
  -
     meta = {
  -    license = stdenv.lib.licenses.gpl2;
  +    license = licenses.gpl2;
       homepage = https://gitlab.com/Remmina/Remmina;
       description = "Remote desktop client written in GTK+";
       maintainers = with maintainers; [ melsigl ryantm ];
  
positive.code:     sha256 = "15szv1xs6drxq6qyksmxcfdz516ja4zm52r4yf6hwij3fgl8qdpw";
    };
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = [
      cmake wrapGAppsHook gsettings-desktop-schemas
      glib gtk3 gettext libxkbfile libX11
      freerdp libssh libgcrypt gnutls
      pcre libdbusmenu-gtk3 libappindicator-gtk3
      libvncserver libpthreadstubs libXdmcp libxkbcommon
      libsecret libsoup spice-protocol spice-gtk epoxy at-spi2-core
      openssl hicolor-icon-theme adwaita-icon-theme json-glib
    ]
    ++ optional gnomeSupport libgnome-keyring;
  
    preConfigure = optionalString (!gnomeSupport) ''
      substituteInPlace CMakeLists.txt \
        --replace "add_subdirectory(remmina-plugins-gnome)" ""
    '';
  
    cmakeFlags = [
      "-DWITH_VTE=OFF"
  
negative.code: { stdenv, fetchFromGitLab, cmake, ninja, pkgconfig, wrapGAppsHook
  , glib, gtk3, gettext, libxkbfile, libX11
  , freerdp, libssh, libgcrypt, gnutls, makeDesktopItem
  , pcre, libdbusmenu-gtk3, libappindicator-gtk3
  