Skip to content

Commit

Permalink
libsignal-ffi: 0.62.0 -> 0.64.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Dec 22, 2024
1 parent 578baae commit ad10a09
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 13 deletions.
79 changes: 69 additions & 10 deletions pkgs/by-name/li/libsignal-ffi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions pkgs/by-name/li/libsignal-ffi/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ rustPlatform.buildRustPackage rec {
pname = "libsignal-ffi";
# must match the version used in mautrix-signal
# see https://github.com/mautrix/signal/issues/401
version = "0.62.0";
version = "0.64.1";

src = fetchFromGitHub {
fetchSubmodules = true;
owner = "signalapp";
repo = "libsignal";
rev = "v${version}";
hash = "sha256-+tY00a5NJflVkSVESFhaP1B5qqZs72AwZM9pCIrAQRk=";
hash = "sha256-36z8Tgf3w0ZDLOS7hMTeVbZLiq/M/es6+sL8rEWtps4=";
};

buildInputs = lib.optional stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
Expand All @@ -40,12 +40,14 @@ rustPlatform.buildRustPackage rec {
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcodebuild ];

env.BORING_BSSL_PATH = "${boringssl-wrapper}";
env.NIX_LDFLAGS = "-lstdc++";

# The Cargo.lock contains git dependencies
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"boring-4.9.0" = "sha256-zhf0sO6TV4e55k4MxAB/TlXdqd96dg6i674RbuUPrtM=";
"boring-4.13.0" = "sha256-+0LeCN4YtHe84GzkMZog8gCTvrzVNoAYXv04jQXZaUo=";
"intmap-2.0.0" = "sha256-PGlkaZl+DYS4QkpJFfUf+2unVKwd9vLNF0N+/YFg8qE=";
"curve25519-dalek-4.1.3" = "sha256-bPh7eEgcZnq9C3wmSnnYv0C4aAP+7pnwk9Io29GrI4A=";
};
};
Expand Down

0 comments on commit ad10a09

Please sign in to comment.