anchor.diff:  
       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
  
positive.code:   ];
  in stdenv.mkDerivation rec {
    pname = "insomnia";
    version = "2022.1.1";
  
    src = fetchurl {
      url =
        "https://github.com/Kong/insomnia/releases/download/core%40${version}/Insomnia.Core-${version}.deb";
      sha256 = "sha256-AaRiXGdKCzcsY4GEgLr5PO+f7STsR+p7ybGISdJlCVk=";
    };
  
    nativeBuildInputs =
      [ autoPatchelfHook dpkg makeWrapper gobject-introspection wrapGAppsHook ];
  
    buildInputs = [
      alsa-lib
  
negative.code: 
    dontBuild = true;
    dontConfigure = true;
    dontWrapGApps = true;
  
    unpackPhase = "dpkg-deb -x $src .";
  
  