anchor.diff:  
     dontBuild = true;
     dontConfigure = true;
  +  dontWrapGApps = true;
   
     unpackPhase = "dpkg-deb -x $src .";
   
  
positive.code: 
      mv usr/share/* $out/share/
      mv opt/Insomnia/* $out/share/insomnia
      mv $out/share/insomnia/*.so $out/lib/
  
      ln -s $out/share/insomnia/insomnia $out/bin/insomnia
      sed -i 's|\/opt\/Insomnia|'$out'/bin|g' $out/share/applications/insomnia.desktop
  
negative.code:   ];
  in stdenv.mkDerivation rec {
    pname = "insomnia";
    version = "2022.3.0";
  
    src = fetchurl {
      url =
        "https://github.com/Kong/insomnia/releases/download/core%40${version}/Insomnia.Core-${version}.deb";
      sha256 = "sha256-Y+M9nnJEE8FSrD58Q+spjICqV8zoc7Y2eVJLH/8qYDE=";
    };
  
    nativeBuildInputs = [
      autoPatchelfHook
      dpkg
      makeWrapper
      gobject-introspection
      wrapGAppsHook
    ];
  
    buildInputs = [
      alsa-lib
  