Skip to content

Commit

Permalink
element-call: 0.5.16 -> 0.6.1
Browse files Browse the repository at this point in the history
Removes the bundled libolm.
  • Loading branch information
emilazy committed Aug 23, 2024
1 parent 98a9b6e commit ddf3f9f
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-/8B7iIKOfMBu+IZGPpfvw9Ii+YSFbIQPlRN3TcNCYCI=";
aarch64-linux = "sha256-/8B7iIKOfMBu+IZGPpfvw9Ii+YSFbIQPlRN3TcNCYCI=";
x86_64-darwin = "sha256-3Xw0umnJwPcmPKBPTk0cL9vSWmUSbHKxN/Hrh8vWXCQ=";
aarch64-darwin = "sha256-3Xw0umnJwPcmPKBPTk0cL9vSWmUSbHKxN/Hrh8vWXCQ=";
}.${system} or throwSystem;
in
stdenv.mkDerivation (finalAttrs: {
pname = "element-call";
version = "0.5.16";
version = "0.6.1";

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

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 ddf3f9f

Please sign in to comment.