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>
This commit is contained in:
Christoph Heiss
2025-09-08 19:28:14 +02:00
committed by Alyssa Ross
parent 501e8409de
commit aa63f2f939
@@ -10,20 +10,20 @@
libiconv,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "matrix-sdk-crypto-nodejs";
version = "0.3.0-beta.1-unstable-2025-02-11";
version = "0.4.0-beta.1";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "matrix-rust-sdk-crypto-nodejs";
rev = "f74a37e9c8f5af005119464a3501346b8c22695f";
hash = "sha256-QHKFD9PPUXMb78GjSabk3vWnd5DIhTjtBZL8e/Tuw0g=";
rev = "v${finalAttrs.version}";
hash = "sha256-Rl0xtaEj2RnW9HPN94hjETwiMInxT1XGa1BocldQAPs=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-hKuFu8T7zCXlmiG7k3WJsLSDYhIu6vT5la+AZOmz8EM=";
inherit (finalAttrs) pname version src;
hash = "sha256-4AC+l52I8Z3sXiViNPe6GLCl1Z+GpqjbwkcFX6BhxDA=";
};
nativeBuildInputs = [
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
local -r outPath="$out/lib/node_modules/@matrix-org/${pname}"
local -r outPath="$out/lib/node_modules/@matrix-org/${finalAttrs.pname}"
mkdir -p "$outPath"
cp package.json index.js index.d.ts matrix-sdk-crypto.*.node "$outPath"
@@ -67,4 +67,4 @@ stdenv.mkDerivation rec {
# napi_build doesn't handle most cross-compilation configurations
broken = (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) || stdenv.hostPlatform.isStatic;
};
}
})