anchor.diff:      wrapGAppsHook4
     ];
   
  +  dontUseCmakeConfigure = true;
  +
     buildInputs = [
       alsa-lib
       gio-sharp
  
positive.code: , fetchFromGitHub
  , alsa-lib
  , appstream-glib
  , desktop-file-utils
  , gio-sharp
  , glib
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "rnote";
    version = "0.5.7";
  
    src = fetchFromGitHub {
      owner = "flxzt";
      repo = "rnote";
      rev = "v${version}";
      fetchSubmodules = true;
      hash = "sha256-w4y+t8idcaNwvC2Wp9SRjcd4m23Zt+yHG2fjOA2rBU8=";
    };
  
    cargoDeps = rustPlatform.fetchCargoTarball {
      inherit src;
      name = "${pname}-${version}";
      hash = "sha256-Hybbbokru4vz5ly3oZuNGdBa+lYbhdYjESUpRxIUqJc=";
    };
  
    nativeBuildInputs = [
      appstream-glib # For appstream-util
      clang
      cmake
      desktop-file-utils # For update-desktop-database
      meson
      ninja
  