12 stdenv.mkDerivation (finalAttrs: {
13 pname = "hydrogen-web";
16 src = fetchFromGitHub {
18 repo = "hydrogen-web";
19 rev = "v${finalAttrs.version}";
20 hash = "sha256-pXrmWPp4/MYIS1FHEGzAxGbh4OnTaiPudg+NauvA6Vc=";
23 offlineCache = fetchYarnDeps {
24 yarnLock = finalAttrs.src + "/yarn.lock";
25 hash = "sha256-j+BwlmL0ncaccy9qQbzb9GpDRC4KB9MwOR2ISx+vbLE=";
40 fixup-yarn-lock yarn.lock
41 yarn config --offline set yarn-offline-mirror $offlineCache
42 yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
43 patchShebangs node_modules
65 description = "Lightweight matrix client with legacy and mobile browser support";
66 homepage = "https://github.com/element-hq/hydrogen-web";
67 maintainers = lib.teams.matrix.members;
68 license = lib.licenses.asl20;
69 platforms = lib.platforms.all;
70 inherit (olm.meta) knownVulnerabilities;