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; }; })