Skip to content

Commit

Permalink
element-call: 0.5.16 -> 0.6.3 (#336823)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Sep 3, 2024
2 parents 7e37cb5 + 850d497 commit 939b9e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
10 changes: 0 additions & 10 deletions pkgs/by-name/el/element-call/name.patch

This file was deleted.

16 changes: 6 additions & 10 deletions pkgs/by-name/el/element-call/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,29 @@
, yarnBuildHook
, nodejs
, npmHooks
, olm
}:

let
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";
offlineCacheHash = {
x86_64-linux = "sha256-mZCnvX6hzkdi/zjPiefcmbyC2kGemjS4w7WTVkyq8W0=";
aarch64-linux = "sha256-mZCnvX6hzkdi/zjPiefcmbyC2kGemjS4w7WTVkyq8W0=";
x86_64-darwin = "sha256-G4doEnZORJqcl3bWaKZPuQmBeXNXud06nLO12Afr9kM=";
aarch64-darwin = "sha256-G4doEnZORJqcl3bWaKZPuQmBeXNXud06nLO12Afr9kM=";
x86_64-linux = "sha256-g4PWB1EstNB7gd/yZyrXf+U8Py8OLeea0gDlEXhInhU=";
aarch64-linux = "sha256-g4PWB1EstNB7gd/yZyrXf+U8Py8OLeea0gDlEXhInhU=";
x86_64-darwin = "sha256-g4PWB1EstNB7gd/yZyrXf+U8Py8OLeea0gDlEXhInhU=";
aarch64-darwin = "sha256-g4PWB1EstNB7gd/yZyrXf+U8Py8OLeea0gDlEXhInhU=";
}.${system} or throwSystem;
in
stdenv.mkDerivation (finalAttrs: {
pname = "element-call";
version = "0.5.16";
version = "0.6.3";

src = fetchFromGitHub {
owner = "element-hq";
repo = "element-call";
rev = "v${finalAttrs.version}";
hash = "sha256-GTHM27i716RZk+kDELMg/lYy355/SZoQLXGPQ90M4xg=";
hash = "sha256-PyxqUhnlWfcACsoFYrppO7g5e74jI4/xxXBi6oWyWsg=";
};

patches = [ ./name.patch ];

offlineCache = fetchYarnDeps {
yarnLock = "${finalAttrs.src}/yarn.lock";
hash = offlineCacheHash;
Expand All @@ -53,6 +50,5 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.asl20;
maintainers = with maintainers; [ kilimnik ];
mainProgram = "element-call";
inherit (olm.meta) knownVulnerabilities;
};
})

0 comments on commit 939b9e5

Please sign in to comment.