From aa63f2f939c376d0095d2ddfc281397138b7b0d3 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Sat, 6 Sep 2025 14:50:03 +0200 Subject: [PATCH] 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 --- .../ma/matrix-sdk-crypto-nodejs/package.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix b/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix index e40aa7e6d11d..f5b7644f5ce6 100644 --- a/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix +++ b/pkgs/by-name/ma/matrix-sdk-crypto-nodejs/package.nix @@ -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; }; -} +})