anchor.diff:    version = "2.0.2";
   
     nativeBuildInputs = [
  -    installShellFiles
  +    intltool
       wrapGAppsHook
     ];
   
  
positive.code:     sha256 = "sha256-Bvzs1beq7I1+10w9pmMePqGCz2TPDp5UK5Wa9hbKERU=";
    };
  
    postFixup = ''
      # Rename the binary
      mv $out/bin/Pinta $out/bin/pinta
  
      # Copy desktop icons
      for size in 16x16 22x22 24x24 32x32 96x96 scalable; do
        mkdir -p $out/share/icons/hicolor/$size/apps
        cp xdg/$size/* $out/share/icons/hicolor/$size/apps/
      done
  
      # Copy runtime icons
      cp -r Pinta.Resources/icons/hicolor/16x16/* $out/share/icons/hicolor/16x16/
  
      # Install manpage
      installManPage xdg/pinta.1
  
      # Fix and copy desktop file
      # TODO: fix this propely by using the autoreconf+pkg-config build system
      # from upstream
      mkdir -p $out/share/applications
      substitute xdg/pinta.desktop.in $out/share/applications/Pinta.desktop \
        --replace _Name Name \
        --replace _Comment Comment \
        --replace _GenericName GenericName \
        --replace _X-GNOME-FullName X-GNOME-FullName \
        --replace _Keywords Keywords
    '';
  
    meta = with lib; {
  
negative.code: , buildDotnetModule
  , dotnetCorePackages
  , fetchFromGitHub
  , glibcLocales
  , gtk3
  , intltool
  , wrapGAppsHook
  }:
  
  