anchor.diff:    '';
   
     installPhase = ''
  +    runHook preInstall
  +
       mkdir -p $out/lib $out/bin
       cp opt/bisq/lib/app/desktop-${version}-all.jar $out/lib
   
  
positive.code:   '';
  in
  stdenv.mkDerivation rec {
    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";
    };
  
    desktopItems = [
      (makeDesktopItem {
  
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; {
  