anchor.diff:    '';
   in
   stdenv.mkDerivation rec {
  +  pname = "bisq-desktop";
     version = "1.7.0";
  -  pname = "bisq-desktop";
  -  nativeBuildInputs = [ makeWrapper copyDesktopItems dpkg ];
   
     src = fetchurl {
       url = "https://github.com/bisq-network/bisq/releases/download/v${version}/Bisq-64bit-${version}.deb";
       sha256 = "0crry5k7crmrqn14wxiyrnhk09ac8a9ksqrwwky7jsnyah0bx5k4";
     };
  +
  +  nativeBuildInputs = [ makeWrapper copyDesktopItems dpkg ];
   
     desktopItems = [
       (makeDesktopItem {
  
positive.code:   '';
  
    installPhase = ''
      mkdir -p $out/lib $out/bin
      cp opt/bisq/lib/app/desktop-${version}-all.jar $out/lib
  
  
negative.code:     makeWrapper ${bisq-launcher} $out/bin/bisq-desktop \
        --prefix PATH : $out/bin
  
      for n in 16 24 32 48 64 96 128 256; do
        size=$n"x"$n
        ${imagemagick}/bin/convert opt/bisq/lib/Bisq.png -resize $size bisq.png
        install -Dm644 -t $out/share/icons/hicolor/$size/apps bisq.png
      done;
  
      runHook postInstall
    '';
  
    meta = with lib; {
  