anchor.diff:      python3.pkgs.nose
     ];
   
  -  propagatedBuildInputs = [
  -    glib
  -    python3
  -    python3.pkgs.dbus-python
  -    python3.pkgs.distutils_extra
  -    python3.pkgs.pyatspi
  -    python3.pkgs.pycairo
  -    python3.pkgs.pygobject3
  -    python3.pkgs.systemd
  -  ];
  +  # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
  +  strictDeps = false;
   
  -  buildInputs = [
  -    bash
  -    gnome3.dconf
  -    gsettings-desktop-schemas
  -    gtk3
  -    hunspell
  -    isocodes
  -    libcanberra-gtk3
  -    mousetweaks
  -    udev
  -    libxkbcommon
  -    wrapGAppsHook
  -    xorg.libXtst
  -    xorg.libxkbfile
  -  ] ++ stdenv.lib.optional atspiSupport at-spi2-core;
  -
  -  nativeBuildInputs = [
  -    glibcLocales
  -    gobject-introspection # populate GI_TYPELIB_PATH
  -    intltool
  -    pkgconfig
  -  ];
  -
  -  propagatedUserEnvPkgs = [
  -    gnome3.dconf
  -  ];
  +  doCheck = false;
   
     preBuild = ''
       # Unnecessary file, has been removed upstream
  
positive.code:     ./hunspell-use-xdg-datadirs.patch
    ];
  
    # For tests
    LC_ALL = "en_US.UTF-8";
    doCheck = false;
    checkInputs = [
      # for Onboard.SpellChecker.aspell_cmd doctests
      (aspellWithDicts (dicts: with dicts; [ en ]))
  
negative.code:       --replace '"killall",' '"${procps}/bin/pkill", "-x",'
    '';
  
    installPhase = ''
      ${python3.interpreter} setup.py install --prefix="$out"
  
      cp onboard-default-settings.gschema.override.example $out/share/glib-2.0/schemas/10_onboard-default-settings.gschema.override
      glib-compile-schemas $out/share/glib-2.0/schemas/
    '';
  
    # Remove ubuntu icons.
    postFixup = ''
      rm -rf  $out/share/icons/ubuntu-mono-*
    '';
  
    meta = with stdenv.lib; {
      homepage = https://launchpad.net/onboard;
      description = "Onscreen keyboard useful for tablet PC users and for mobility impaired users";
      maintainers = with maintainers; [ johnramsden ];
      license = licenses.gpl3;
    };
  }
  