anchor.diff:      libXrandr
       libXrender
       libXtst
  +    libxkbcommon
       libsecret
       libuuid
       libxcb
  
positive.code:       patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "$ORIGIN:$out/opt/appgate/service/:$out/opt/appgate/:${rpath}" $binary
      done
  
      wrapProgram $out/opt/appgate/appgate-driver --prefix PATH : ${lib.makeBinPath [ iproute2 networkmanager dnsmasq ]}
      wrapProgram $out/opt/appgate/linux/set_dns --set PYTHONPATH $PYTHONPATH
      wrapProgram $out/bin/appgate --prefix PATH : ${xdg-utils}/bin
    '';
    meta = with lib; {
      description = "Appgate SDP (Software Defined Perimeter) desktop client";
  
negative.code: in
  stdenv.mkDerivation rec {
    pname = "appgate-sdp";
    version = "5.4.0";
  
    src = fetchurl {
      url = "https://bin.appgate-sdp.com/${lib.versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb";
      sha256 = "sha256-2DzZ5JnFGBeaHtDf7CAXb/qv6kVI+sYMW5Nc25E3eNA=";
    };
  
    dontConfigure = true;
  