2022-12-27T00:36:52 bisq-desktop 0 -> 1 2022-12-27T00:36:55 attrpath: bisq-desktop 2022-12-27T00:36:55 Checking auto update branch... 2022-12-27T00:36:58 [version] 2022-12-27T00:36:58 [version] skipping because derivation has updateScript 2022-12-27T00:36:58 [rustCrateVersion] 2022-12-27T00:36:58 [rustCrateVersion] No cargoSha256 found 2022-12-27T00:36:58 [golangModuleVersion] 2022-12-27T00:36:58 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-12-27T00:36:58 [updateScript] 2022-12-27T00:37:16 [updateScript] Success 2022-12-27T00:37:16 [updateScript] this derivation will be built: /nix/store/vcmpqdqkcbhaklpnrgr231xwdwg8blgz-packages.json.drv building '/nix/store/vcmpqdqkcbhaklpnrgr231xwdwg8blgz-packages.json.drv'... Going to be running update for following packages: - bisq-desktop-1.9.6 Press Enter key to continue... Running update for: - bisq-desktop-1.9.6: UPDATING ... - bisq-desktop-1.9.6: DONE. Packages updated! 2022-12-27T00:37:16 2022-12-27T00:37:16 [quotedUrls] 2022-12-27T00:37:16 [quotedUrls] nothing found to replace 2022-12-27T00:37:16 Diff after rewrites: diff --git a/pkgs/applications/blockchains/bisq-desktop/default.nix b/pkgs/applications/blockchains/bisq-desktop/default.nix index 05542ef4c24..0da9675d250 100644 --- a/pkgs/applications/blockchains/bisq-desktop/default.nix +++ b/pkgs/applications/blockchains/bisq-desktop/default.nix @@ -34,11 +34,11 @@ let in stdenv.mkDerivation rec { pname = "bisq-desktop"; - version = "1.9.6"; + version = "1.9.8"; src = fetchurl { url = "https://github.com/bisq-network/bisq/releases/download/v${version}/Bisq-64bit-${version}.deb"; - sha256 = "02j6n693lhfn9x8kaz253xm76zzsdz8h10rkyxnlqiwwbn1wnmsa"; + sha256 = "1hwfchwqvflfzpv8n9wvj567a68fa4bch0hi8vk4pzmwxsx4z7g1"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems imagemagick dpkg zip xz ]; 2022-12-27T00:38:42 An auto update branch exists with message `bisq-desktop: 1.9.6 -> 1.9.8`. New version is 1.9.8. 2022-12-27T00:38:42 An auto update branch exists with an equal or greater version 2022-12-27T21:02:40 bisq-desktop 1.9.6 -> 1.9.8 https://github.com/bisq-network/bisq/releases 2022-12-27T21:02:43 attrpath: bisq-desktop 2022-12-27T21:02:43 Checking auto update branch... 2022-12-27T21:02:46 [version] 2022-12-27T21:02:46 [version] skipping because derivation has updateScript 2022-12-27T21:02:46 [rustCrateVersion] 2022-12-27T21:02:46 [rustCrateVersion] No cargoSha256 found 2022-12-27T21:02:46 [golangModuleVersion] 2022-12-27T21:02:46 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-12-27T21:02:46 [updateScript] 2022-12-27T21:03:15 [updateScript] Success 2022-12-27T21:03:15 [updateScript] this derivation will be built: /nix/store/vcmpqdqkcbhaklpnrgr231xwdwg8blgz-packages.json.drv building '/nix/store/vcmpqdqkcbhaklpnrgr231xwdwg8blgz-packages.json.drv'... Going to be running update for following packages: - bisq-desktop-1.9.6 Press Enter key to continue... Running update for: - bisq-desktop-1.9.6: UPDATING ... - bisq-desktop-1.9.6: DONE. Packages updated! 2022-12-27T21:03:15 2022-12-27T21:03:15 [quotedUrls] 2022-12-27T21:03:16 [quotedUrls] nothing found to replace 2022-12-27T21:03:16 Diff after rewrites: diff --git a/pkgs/applications/blockchains/bisq-desktop/default.nix b/pkgs/applications/blockchains/bisq-desktop/default.nix index 05542ef4c24..0da9675d250 100644 --- a/pkgs/applications/blockchains/bisq-desktop/default.nix +++ b/pkgs/applications/blockchains/bisq-desktop/default.nix @@ -34,11 +34,11 @@ let in stdenv.mkDerivation rec { pname = "bisq-desktop"; - version = "1.9.6"; + version = "1.9.8"; src = fetchurl { url = "https://github.com/bisq-network/bisq/releases/download/v${version}/Bisq-64bit-${version}.deb"; - sha256 = "02j6n693lhfn9x8kaz253xm76zzsdz8h10rkyxnlqiwwbn1wnmsa"; + sha256 = "1hwfchwqvflfzpv8n9wvj567a68fa4bch0hi8vk4pzmwxsx4z7g1"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems imagemagick dpkg zip xz ]; 2022-12-27T21:04:42 Old version 1.9.6" not present in master derivation file with contents: { stdenv , lib , makeWrapper , fetchurl , makeDesktopItem , copyDesktopItems , imagemagick , openjdk11 , dpkg , writeScript , bash , tor , zip , xz }: let bisq-launcher = writeScript "bisq-launcher" '' #! ${bash}/bin/bash # This is just a comment to convince Nix that Tor is a # runtime dependency; The Tor binary is in a *.jar file, # whereas Nix only scans for hashes in uncompressed text. # ${bisq-tor} JAVA_TOOL_OPTIONS="-XX:+UseG1GC -XX:MaxHeapFreeRatio=10 -XX:MinHeapFreeRatio=5 -XX:+UseStringDeduplication" bisq-desktop-wrapped "$@" ''; bisq-tor = writeScript "bisq-tor" '' #! ${bash}/bin/bash exec ${tor}/bin/tor "$@" ''; in stdenv.mkDerivation rec { pname = "bisq-desktop"; version = "1.9.8"; src = fetchurl { url = "https://github.com/bisq-network/bisq/releases/download/v${version}/Bisq-64bit-${version}.deb"; sha256 = "1hwfchwqvflfzpv8n9wvj567a68fa4bch0hi8vk4pzmwxsx4z7g1"; }; nativeBuildInputs = [ makeWrapper copyDesktopItems imagemagick dpkg zip xz ]; desktopItems = [ (makeDesktopItem { name = "Bisq"; exec = "bisq-desktop"; icon = "bisq"; desktopName = "Bisq ${version}"; genericName = "Decentralized bitcoin exchange"; categories = [ "Network" "P2P" ]; }) ]; unpackPhase = '' dpkg -x $src . ''; buildPhase = '' # Replace the embedded Tor binary (which is in a Tar archive) # with one from Nixpkgs. mkdir -p native/linux/x64/ cp ${bisq-tor} ./tor tar -cJf native/linux/x64/tor.tar.xz tor zip -r opt/bisq/lib/app/desktop-${version}-all.jar native ''; installPhase = '' runHook preInstall mkdir -p $out/lib $out/bin cp opt/bisq/lib/app/desktop-${version}-all.jar $out/lib makeWrapper ${openjdk11}/bin/java $out/bin/bisq-desktop-wrapped \ --add-flags "-jar $out/lib/desktop-${version}-all.jar bisq.desktop.app.BisqAppMain" 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 convert opt/bisq/lib/Bisq.png -resize $size bisq.png install -Dm644 -t $out/share/icons/hicolor/$size/apps bisq.png done; runHook postInstall ''; passthru.updateScript = ./update.sh; meta = with lib; { description = "A decentralized bitcoin exchange network"; homepage = "https://bisq.network"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.mit; maintainers = with maintainers; [ juaningan emmanuelrosa ]; platforms = [ "x86_64-linux" ]; }; }