anchor.diff:  , stdenv
   , copyDesktopItems
   , fetchFromGitHub
  +, fetchpatch
   , makeDesktopItem
   , makeWrapper
   , fontconfig
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "dbeaver-ce";
    version = "21.0.2"; # When updating also update fetchedMavenDeps.sha256
  
    src = fetchFromGitHub {
      owner = "dbeaver";
      repo = "dbeaver";
      rev = version;
      sha256 = "sha256-3EMSiEq1wdg4dxBU90RVVv0Hrf5dXPc1MPI0+WMk48k=";
    };
  
    fetchedMavenDeps = stdenv.mkDerivation {
      name = "dbeaver-${version}-maven-deps";
      inherit src;
  
      buildInputs = [
        maven
  
negative.code:     dontFixup = true;
      outputHashAlgo = "sha256";
      outputHashMode = "recursive";
      outputHash = "sha256-rsK/B39ogNu5nC41OfyAsLiwBz4gWyH+8Fj7E6+rOng=";
    };
  
    patches = [
      # Fix eclipse-color-theme URL (https://github.com/dbeaver/dbeaver/pull/12133)
      # After April 15, 2021 eclipse-color-theme.github.com no longer redirects to eclipse-color-theme.github.io
      (fetchpatch {
        url = "https://github.com/dbeaver/dbeaver/commit/65d65e2c2c711cc87fddcec425a6915aa80f4ced.patch";
        sha256 = "sha256-pxOcRYkV/5o+tHcRhHDZ1TmZSHMnKBmkNTVAlIf9nUE=";
      })
    ];
  
    nativeBuildInputs = [
      copyDesktopItems
  