lol

signal-desktop: 7.54.0 -> 7.56.0 (#412882)

authored by

jopejoe1 and committed by
GitHub
3603bcb6 7fdfa554

+39 -24
+14
pkgs/by-name/si/signal-desktop/dont-strip-absolute-paths.patch
··· 1 + diff --git a/node/build_node_bridge.py b/node/build_node_bridge.py 2 + index c983fc3..2ab06dc 100755 3 + --- a/node/build_node_bridge.py 4 + +++ b/node/build_node_bridge.py 5 + @@ -138,9 +138,6 @@ def main(args: Optional[List[str]] = None) -> int: 6 + cargo_env['CARGO_PROFILE_RELEASE_LTO'] = 'thin' 7 + # Enable ARMv8 cryptography acceleration when available 8 + cargo_env['RUSTFLAGS'] += ' --cfg aes_armv8' 9 + - # Strip absolute paths 10 + - for path in build_helpers.rust_paths_to_remap(): 11 + - cargo_env['RUSTFLAGS'] += f' --remap-path-prefix {path}=' 12 + 13 + # If set (below), will post-process the build library using this instead of just `cp`-ing it. 14 + objcopy = None
+10 -9
pkgs/by-name/si/signal-desktop/libsignal-node.nix
··· 24 24 in 25 25 rustPlatform.buildRustPackage (finalAttrs: { 26 26 pname = "libsignal-node"; 27 - version = "0.70.0"; 27 + version = "0.72.1"; 28 28 29 29 src = fetchFromGitHub { 30 30 owner = "signalapp"; 31 31 repo = "libsignal"; 32 32 tag = "v${finalAttrs.version}"; 33 - hash = "sha256-6CBhLvD0UflLzJHAMB21wSH8MWTUNx0uPdqOUo/Eq44="; 33 + hash = "sha256-A8EAHHcBFSD4ZlvFig64g4+eoZQCuqE/qv509hA3I4s="; 34 34 }; 35 35 useFetchCargoVendor = true; 36 - cargoHash = "sha256-4bSPPf16nUQTl6INa3mLhPIe8iiFfpPw1E5fpNvnKqs="; 36 + cargoHash = "sha256-+vJrywIi/RcGGGns42XlN6S63RBil3fB4XByTLsaFVc="; 37 37 38 38 npmRoot = "node"; 39 39 npmDeps = fetchNpmDeps { 40 40 name = "${finalAttrs.pname}-npm-deps"; 41 41 inherit (finalAttrs) version src; 42 42 sourceRoot = "${finalAttrs.src.name}/${finalAttrs.npmRoot}"; 43 - hash = "sha256-djk+YGZ/eUq6MXjUEE47bgKnQlUSuaoUPx8hUMtjvyQ="; 43 + hash = "sha256-ZD0ZN2b7KReGbnvarqvGpOlQ5TsJfnaHmmOWQ42Y48E="; 44 44 }; 45 45 46 46 nativeBuildInputs = [ ··· 56 56 env.BORING_BSSL_PATH = "${boringssl-wrapper}"; 57 57 env.NIX_LDFLAGS = if stdenv.hostPlatform.isDarwin then "-lc++" else "-lstdc++"; 58 58 59 - patchPhase = '' 60 - runHook prePatch 61 - 59 + patches = [ 60 + # This is used to strip absolute paths of dependencies to avoid leaking info about build machine. Nix builders 61 + # already solve this problem by chrooting os this is not needed. 62 + ./dont-strip-absolute-paths.patch 63 + ]; 64 + postPatch = '' 62 65 substituteInPlace node/binding.gyp \ 63 66 --replace-fail "'--out-dir', '<(PRODUCT_DIR)/'," \ 64 67 "'--out-dir', '$out/lib/<(NODE_OS_NAME)-<(target_arch)/'," \ ··· 68 71 substituteInPlace node/build_node_bridge.py \ 69 72 --replace-fail "dst_base = 'libsignal_client_%s_%s' % (node_os_name, node_arch)" \ 70 73 "dst_base = '@signalapp+libsignal-client'" 71 - 72 - runHook postPatch 73 74 ''; 74 75 75 76 buildPhase = ''
+8 -8
pkgs/by-name/si/signal-desktop/package.nix
··· 3 3 lib, 4 4 nodejs_22, 5 5 pnpm_10, 6 - electron_35, 6 + electron_36, 7 7 python3, 8 8 makeWrapper, 9 9 callPackage, ··· 19 19 let 20 20 nodejs = nodejs_22; 21 21 pnpm = pnpm_10.override { inherit nodejs; }; 22 - electron = electron_35; 22 + electron = electron_36; 23 23 24 24 libsignal-node = callPackage ./libsignal-node.nix { inherit nodejs; }; 25 25 signal-sqlcipher = callPackage ./signal-sqlcipher.nix { inherit pnpm nodejs; }; ··· 48 48 ''; 49 49 }); 50 50 51 - version = "7.54.0"; 51 + version = "7.56.0"; 52 52 53 53 src = fetchFromGitHub { 54 54 owner = "signalapp"; 55 55 repo = "Signal-Desktop"; 56 56 tag = "v${version}"; 57 - hash = "sha256-dv1Yi7gSd7kY3MSrsPjcaf2hAEq6Y+XoWtlBfvd86ac="; 57 + hash = "sha256-BrgBlDEgb08oX7Mh/P4nuoM+dkSDpB45zOtDNMYeZr0="; 58 58 }; 59 59 60 60 sticker-creator = stdenv.mkDerivation (finalAttrs: { ··· 64 64 65 65 pnpmDeps = pnpm.fetchDeps { 66 66 inherit (finalAttrs) pname src version; 67 - hash = "sha256-TuPyRVNFIlR0A4YHMpQsQ6m+lm2fsp79FzQ1P5qqjIc="; 67 + hash = "sha256-cT7Ixl/V/mesPHvJUsG63Y/wXwKjbjkjdjP3S7uEOa0="; 68 68 }; 69 69 70 70 strictDeps = true; ··· 116 116 ; 117 117 hash = 118 118 if withAppleEmojis then 119 - "sha256-Kdg0+kLEDFobWEEhJgKuaou/pYwn1dTugye7OcMYfEQ=" 119 + "sha256-RP3d1t4bbvehdCDSL3bHrlJEnn65TDViI5jVjSiuJw8=" 120 120 else 121 - "sha256-cit/Hn7L6qmfIJCDF2wlx/4aKygRYy+zvBQGX6Mg+og="; 121 + "sha256-KJvc+kVcwRKsUVW3lK7fPXUSqDQlJFPbYAzQjhFtfoU="; 122 122 }; 123 123 124 124 env = { 125 125 ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; 126 126 SIGNAL_ENV = "production"; 127 - SOURCE_DATE_EPOCH = 1747170390; 127 + SOURCE_DATE_EPOCH = 1748456277; 128 128 }; 129 129 130 130 preBuild = ''
+3 -3
pkgs/by-name/si/signal-desktop/ringrtc.nix
··· 19 19 in 20 20 rustPlatform.buildRustPackage (finalAttrs: { 21 21 pname = "ringrtc"; 22 - version = "2.51.0"; 22 + version = "2.52.0"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "signalapp"; 26 26 repo = "ringrtc"; 27 27 tag = "v${finalAttrs.version}"; 28 - hash = "sha256-PLrGLW6pDoCNpbWASxAqockAJRoeBrkBdxNOHYrQu4s="; 28 + hash = "sha256-Ao1mFJYPnV3lfg4SERwq4dGnBhOVI9pwsqPAsUtV/iY="; 29 29 }; 30 30 useFetchCargoVendor = true; 31 - cargoHash = "sha256-u38VOV2xdNG1WFox+SWT9ejJD1TjK0yAI6lCB9r75iY="; 31 + cargoHash = "sha256-mO9t4ZDDM5Y9cMkmdrYrdGYukN1xfGogPSNq+S1t4Us="; 32 32 33 33 cargoBuildFlags = [ 34 34 "-p"
+2 -2
pkgs/by-name/si/signal-desktop/signal-sqlcipher.nix
··· 11 11 }: 12 12 stdenv.mkDerivation (finalAttrs: { 13 13 pname = "node-sqlcipher"; 14 - version = "2.0.1"; 14 + version = "2.0.3"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "signalapp"; 18 18 repo = "node-sqlcipher"; 19 19 tag = "v${finalAttrs.version}"; 20 - hash = "sha256-15t2HuEYdCxShK703/z3bb1VCgSNpziaK5+wM3TqSHg="; 20 + hash = "sha256-H5/+XcXnINRL5BWItWx6YaPP46+k1xTbyfDqHPCRDXk="; 21 21 }; 22 22 23 23 pnpmDeps = pnpm.fetchDeps {
+2 -2
pkgs/by-name/si/signal-desktop/webrtc-sources.json
··· 1 1 { 2 2 "src": { 3 3 "args": { 4 - "hash": "sha256-yomovlwRmrzsN+dvmUgOM6pzBTH41QuHQXnEJBhQglY=", 4 + "hash": "sha256-AFMJmIo7O4fYrVWABciQphTxHQSj4CdfhluIIPpPWAw=", 5 5 "owner": "signalapp", 6 6 "repo": "webrtc", 7 - "tag": "6998b" 7 + "tag": "6998c" 8 8 }, 9 9 "fetcher": "fetchFromGitHub" 10 10 },