hydrogen-web: 0.4.0 -> 0.5.0

This commit is contained in:
linsui 2024-09-17 13:35:59 +08:00
parent 960b838a5f
commit e70e0b3de8

View File

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