Unverified Commit d49dc4dd authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

actual-server: 25.7.1 -> 25.8.0 (#430873)

parents 246736f2 b5f54856
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  jq,
  makeWrapper,
  nodejs_22,
  python3,
@@ -10,13 +11,13 @@
}:
let
  yarn-berry = yarn-berry_4;
  version = "25.7.1";
  version = "25.8.0";
  src = fetchFromGitHub {
    name = "actualbudget-actual-source";
    owner = "actualbudget";
    repo = "actual";
    tag = "v${version}";
    hash = "sha256-BXF9VL2HTNOOsX+l6G+5CHRi+ycGJTizky8cypijR7M=";
    hash = "sha256-9Ov9AR+WEKtjiX+C2lvjxerc295DWSRHpTb4Lu1stoo=";
  };
  translations = fetchFromGitHub {
    name = "actualbudget-translations-source";
@@ -24,8 +25,8 @@ let
    repo = "translations";
    # Note to updaters: this repo is not tagged, so just update this to the Git
    # tip at the time the update is performed.
    rev = "319e1b8f099b77c2ff939c8728182a0a3afdec49";
    hash = "sha256-63Uc/2HTYOm2hQEr7grhNTLWtage6oyl4J/a6fGonVI=";
    rev = "c1c2f298013ca3223e6cd6a4a4720bca5e8b8274";
    hash = "sha256-3dtdymdKfEzUIzButA3L88GrehO4EjCrd/gq0Y5bcuE=";
  };

in
@@ -60,6 +61,11 @@ stdenv.mkDerivation (finalAttrs: {

    # Allow `remove-untranslated-languages` to do its job.
    chmod -R u+w ./packages/desktop-client/locale

    # Disable the postinstall script for `protoc-gen-js` because it tries to
    # use network in buildPhase. It's just used as a dev tool and the generated
    # protobuf code is committed in the repository.
    cat <<< $(${lib.getExe jq} '.dependenciesMeta."protoc-gen-js".built = false' ./package.json) > ./package.json
  '';

  buildPhase = ''
@@ -76,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: {
  missingHashes = ./missing-hashes.json;
  offlineCache = yarn-berry.fetchYarnBerryDeps {
    inherit (finalAttrs) src missingHashes;
    hash = "sha256-SPLosaI2r8PshhqG+dbJktVmjcaDX1GmIXBO0bF+mY4=";
    hash = "sha256-kbQjtZivn9ni6PLk04kAJTzhhGgubhnxgHqMnGwEXZk=";
  };

  pname = "actual-server";