box64 0.2.0 -> 0.2.2 https://github.com/ptitSeb/box64/releases attrpath: box64 Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/xb81csg6vkv4cc58wm6n86xyfkfx6vcp-packages.json.drv building '/nix/store/xb81csg6vkv4cc58wm6n86xyfkfx6vcp-packages.json.drv'... Going to be running update for following packages: - box64-0.2.0 Press Enter key to continue... Running update for: - box64-0.2.0: UPDATING ... - box64-0.2.0: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/applications/emulators/box64/default.nix b/pkgs/applications/emulators/box64/default.nix index 12c13bb9ae8..51e0c91289a 100644 --- a/pkgs/applications/emulators/box64/default.nix +++ b/pkgs/applications/emulators/box64/default.nix @@ -16,13 +16,13 @@ assert withDynarec -> stdenv.hostPlatform.isAarch64; stdenv.mkDerivation rec { pname = "box64"; - version = "0.2.0"; + version = "0.2.2"; src = fetchFromGitHub { owner = "ptitSeb"; repo = pname; rev = "v${version}"; - hash = "sha256-eMp2eSWMRJQvLRQKUirBua6Kt7ZtyebfUnKIlibkNFU="; + hash = "sha256-aIvL0H0k0/lz2lCLxB17RxNm0cxVozYthy0z85/FuUE="; }; patches = [ No auto update branch exists Old version 0.2.0" not present in master derivation file with contents: { lib , stdenv , fetchFromGitHub , gitUpdater , cmake , python3 , withDynarec ? stdenv.hostPlatform.isAarch64 , runCommand , hello-x86_64 , box64 }: # Currently only supported on ARM assert withDynarec -> stdenv.hostPlatform.isAarch64; stdenv.mkDerivation rec { pname = "box64"; version = "0.2.2"; src = fetchFromGitHub { owner = "ptitSeb"; repo = pname; rev = "v${version}"; hash = "sha256-aIvL0H0k0/lz2lCLxB17RxNm0cxVozYthy0z85/FuUE="; }; nativeBuildInputs = [ cmake python3 ]; cmakeFlags = [ "-DNOGIT=ON" "-DARM_DYNAREC=${if withDynarec then "ON" else "OFF"}" "-DRV64=${if stdenv.hostPlatform.isRiscV64 then "ON" else "OFF"}" "-DPPC64LE=${if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then "ON" else "OFF"}" ] ++ lib.optionals stdenv.hostPlatform.isx86_64 [ "-DLD80BITS=ON" "-DNOALIGN=ON" ]; installPhase = '' runHook preInstall install -Dm 0755 box64 "$out/bin/box64" runHook postInstall ''; doCheck = true; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck echo Checking if it works $out/bin/box64 -v echo Checking if Dynarec option was respected $out/bin/box64 -v | grep ${lib.optionalString (!withDynarec) "-v"} Dynarec runHook postInstallCheck ''; passthru = { updateScript = gitUpdater { rev-prefix = "v"; }; tests.hello = runCommand "box64-test-hello" { nativeBuildInputs = [ box64 hello-x86_64 ]; } '' # There is no actual "Hello, world!" with any of the logging enabled, and with all logging disabled it's hard to # tell what problems the emulator has run into. BOX64_NOBANNER=0 BOX64_LOG=1 box64 ${hello-x86_64}/bin/hello --version | tee $out ''; }; meta = with lib; { homepage = "https://box86.org/"; description = "Lets you run x86_64 Linux programs on non-x86_64 Linux systems"; license = licenses.mit; maintainers = with maintainers; [ gador OPNA2608 ]; platforms = [ "x86_64-linux" "aarch64-linux" "riscv64-linux" "powerpc64le-linux" ]; }; }