mautrix-signal: Reformat code

This commit is contained in:
Frédéric Christ 2024-09-02 20:38:04 +02:00
parent d60e6bf881
commit 32b79e940e
2 changed files with 20 additions and 3 deletions

View File

@ -1,4 +1,14 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, runCommand, xcodebuild, protobuf, boringssl, darwin }: {
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
runCommand,
xcodebuild,
protobuf,
boringssl,
darwin,
}:
let let
# boring-sys expects the static libraries in build/ instead of lib/ # boring-sys expects the static libraries in build/ instead of lib/
boringssl-wrapper = runCommand "boringssl-wrapper" { } '' boringssl-wrapper = runCommand "boringssl-wrapper" { } ''
@ -39,7 +49,10 @@ rustPlatform.buildRustPackage rec {
}; };
}; };
cargoBuildFlags = [ "-p" "libsignal-ffi" ]; cargoBuildFlags = [
"-p"
"libsignal-ffi"
];
meta = with lib; { meta = with lib; {
description = "C ABI library which exposes Signal protocol logic"; description = "C ABI library which exposes Signal protocol logic";

View File

@ -38,7 +38,11 @@ buildGoModule rec {
homepage = "https://github.com/mautrix/signal"; homepage = "https://github.com/mautrix/signal";
description = "Matrix-Signal puppeting bridge"; description = "Matrix-Signal puppeting bridge";
license = licenses.agpl3Plus; license = licenses.agpl3Plus;
maintainers = with maintainers; [ expipiplus1 niklaskorz ma27 ]; maintainers = with maintainers; [
expipiplus1
niklaskorz
ma27
];
mainProgram = "mautrix-signal"; mainProgram = "mautrix-signal";
}; };
} }