matrix-sdk-crypto-nodejs: 0.3.0-beta.1-unstable-2025-02-11 -> 0.4.0-beta.1

Release notes: https://github.com/matrix-org/matrix-rust-sdk-crypto-nodejs/releases/tag/v0.4.0-beta.1
Git changelog: https://github.com/matrix-org/matrix-rust-sdk-crypto-nodejs/compare/v0.3.0-beta.1...v0.4.0-beta.1

Signed-off-by: Christoph Heiss <christoph@c8h4.io>

authored by Christoph Heiss and committed by Alyssa Ross aa63f2f9 501e8409

+8 -8
+8 -8
pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix
··· 10 10 libiconv, 11 11 }: 12 12 13 - stdenv.mkDerivation rec { 13 + stdenv.mkDerivation (finalAttrs: { 14 14 pname = "matrix-sdk-crypto-nodejs"; 15 - version = "0.3.0-beta.1-unstable-2025-02-11"; 15 + version = "0.4.0-beta.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "matrix-org"; 19 19 repo = "matrix-rust-sdk-crypto-nodejs"; 20 - rev = "f74a37e9c8f5af005119464a3501346b8c22695f"; 21 - hash = "sha256-QHKFD9PPUXMb78GjSabk3vWnd5DIhTjtBZL8e/Tuw0g="; 20 + rev = "v${finalAttrs.version}"; 21 + hash = "sha256-Rl0xtaEj2RnW9HPN94hjETwiMInxT1XGa1BocldQAPs="; 22 22 }; 23 23 24 24 cargoDeps = rustPlatform.fetchCargoVendor { 25 - inherit pname version src; 26 - hash = "sha256-hKuFu8T7zCXlmiG7k3WJsLSDYhIu6vT5la+AZOmz8EM="; 25 + inherit (finalAttrs) pname version src; 26 + hash = "sha256-4AC+l52I8Z3sXiViNPe6GLCl1Z+GpqjbwkcFX6BhxDA="; 27 27 }; 28 28 29 29 nativeBuildInputs = [ ··· 47 47 installPhase = '' 48 48 runHook preInstall 49 49 50 - local -r outPath="$out/lib/node_modules/@matrix-org/${pname}" 50 + local -r outPath="$out/lib/node_modules/@matrix-org/${finalAttrs.pname}" 51 51 mkdir -p "$outPath" 52 52 cp package.json index.js index.d.ts matrix-sdk-crypto.*.node "$outPath" 53 53 ··· 67 67 # napi_build doesn't handle most cross-compilation configurations 68 68 broken = (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) || stdenv.hostPlatform.isStatic; 69 69 }; 70 - } 70 + })