anchor.diff:  { stdenv
   , lib
   , fetchFromGitHub
  -, cmake
   , libxml2
   , libpeas
   , glib
  
positive.code: , gspell
  , xapps
  , pkg-config
  , meson
  , ninja
  , wrapGAppsHook
  , intltool
  , itstool }:
  
  stdenv.mkDerivation rec {
    pname = "xed-editor";
    version = "3.2.2";
  
    src = fetchFromGitHub {
      owner = "linuxmint";
      repo = "xed";
      rev = version;
      sha256 = "sha256-PW7y3+Sa9FH5r5xvziysvxM08RJCPvnLs3wsm5IqToQ=";
    };
  
    nativeBuildInputs = [
      meson
      cmake
      pkg-config
      intltool
      itstool
      ninja
      wrapGAppsHook
    ];
  
  
negative.code:     gspell
      xapps
    ];
  
    doInstallCheck = true;
    installCheckPhase = ''
  