From e70e0b3de8534d6026448fda8341ca49e80692ca Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:35:59 +0800 Subject: [PATCH] hydrogen-web: 0.4.0 -> 0.5.0 --- .../hydrogen-web/unwrapped.nix | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/hydrogen-web/unwrapped.nix b/pkgs/applications/networking/instant-messengers/hydrogen-web/unwrapped.nix index c2052473a483..f0e9a267e950 100644 --- a/pkgs/applications/networking/instant-messengers/hydrogen-web/unwrapped.nix +++ b/pkgs/applications/networking/instant-messengers/hydrogen-web/unwrapped.nix @@ -1,29 +1,35 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchYarnDeps -, yarn -, fixup-yarn-lock -, nodejs +{ + lib, + stdenv, + fetchFromGitHub, + fetchYarnDeps, + yarn, + fixup-yarn-lock, + nodejs, + olm, }: stdenv.mkDerivation (finalAttrs: { pname = "hydrogen-web"; - version = "0.4.0"; + version = "0.5.0"; src = fetchFromGitHub { owner = "element-hq"; repo = "hydrogen-web"; rev = "v${finalAttrs.version}"; - hash = "sha256-u8Yex3r7EZH+JztQHJbfncYeyyl6hgb1ZNFIg//wcb0="; + hash = "sha256-pXrmWPp4/MYIS1FHEGzAxGbh4OnTaiPudg+NauvA6Vc="; }; offlineCache = fetchYarnDeps { yarnLock = finalAttrs.src + "/yarn.lock"; - hash = "sha256-N9lUAhfYLlEAIaWSNS3Ecq+aBTz+f7Z22Sclwj9rp6w="; + hash = "sha256-j+BwlmL0ncaccy9qQbzb9GpDRC4KB9MwOR2ISx+vbLE="; }; - nativeBuildInputs = [ yarn fixup-yarn-lock nodejs ]; + nativeBuildInputs = [ + yarn + fixup-yarn-lock + nodejs + ]; configurePhase = '' runHook preConfigure @@ -61,5 +67,6 @@ stdenv.mkDerivation (finalAttrs: { maintainers = lib.teams.matrix.members; license = lib.licenses.asl20; platforms = lib.platforms.all; + inherit (olm.meta) knownVulnerabilities; }; })