format with alejandra

This commit is contained in:
Sean Kovacs 2025-12-24 11:29:41 -05:00
commit 28043aded9
Signed by: sckova
GPG key ID: 00F325187C68651A
35 changed files with 578 additions and 589 deletions

View file

@ -20,7 +20,6 @@
withPortAudio ? stdenv.hostPlatform.isDarwin,
withPulseAudio ? config.pulseaudio or stdenv.hostPlatform.isLinux,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "spotifyd";
version = "0.4.2";
@ -41,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
buildInputs =
lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
lib.optionals stdenv.hostPlatform.isLinux [openssl]
# The `dbus_mpris` feature works on other platforms, but only requires `dbus` on Linux
++ lib.optional (withMpris && stdenv.hostPlatform.isLinux) dbus
++ lib.optional (withALSA || withJack) alsa-lib
@ -50,7 +49,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
++ lib.optional withPortAudio portaudio;
# `aws-lc-sys` fails with this enabled
hardeningDisable = [ "strictoverflow" ];
hardeningDisable = ["strictoverflow"];
buildNoDefaultFeatures = true;
buildFeatures =
@ -68,8 +67,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
passthru = {
tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
updateScript = nix-update-script { };
tests.version = testers.testVersion {package = finalAttrs.finalPackage;};
updateScript = nix-update-script {};
};
meta = {