Skip to content

Commit

Permalink
Merge: mautrix-signal: 0.7.3 -> 0.7.4 (#367446)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 authored Dec 29, 2024
2 parents 6df40c4 + 7095247 commit 5a9fe1f
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 16 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
6 changes: 3 additions & 3 deletions pkgs/servers/mautrix-signal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

buildGoModule rec {
pname = "mautrix-signal";
version = "0.7.3";
version = "0.7.4";

src = fetchFromGitHub {
owner = "mautrix";
repo = "signal";
rev = "v${version}";
hash = "sha256-VU0VZkh1sjOuSI+/JXZKWQF5pZ3NebBFbDdsOgaocg4=";
hash = "sha256-1UI2oYDnmwy9+URBMA2yTBMEoFsE8qnkhn7E0l/lOTs=";
};

buildInputs =
Expand All @@ -38,7 +38,7 @@ buildGoModule rec {

CGO_LDFLAGS = lib.optional withGoolm [ "-lstdc++" ];

vendorHash = "sha256-fERAigormEy6+240AOkMyrjMDj5/eU0Lo4wD0AuAn+4=";
vendorHash = "sha256-ADuW6KMNUwJeGqFlQsJ8qSI0alPQpSAFx1zrhwsAmsI=";

doCheck = true;
preCheck =
Expand Down

0 comments on commit 5a9fe1f

Please sign in to comment.