screenly-cli: format with nixfmt-rfc-style

This commit is contained in:
Jon Seager
2024-08-13 14:28:21 +01:00
parent 47ccc7b32c
commit 5584442fab
+22 -18
View File
@@ -1,12 +1,13 @@
{ darwin
, fetchFromGitHub
, lib
, perl
, pkg-config
, openssl
, rustPlatform
, stdenv
, nix-update-script
{
darwin,
fetchFromGitHub,
lib,
perl,
pkg-config,
openssl,
rustPlatform,
stdenv,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
@@ -27,14 +28,14 @@ rustPlatform.buildRustPackage rec {
perl
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
passthru.updateScript = nix-update-script { };
@@ -44,6 +45,9 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/Screenly/cli/releases/tag/v${version}";
license = lib.licenses.mit;
mainProgram = "screenly";
maintainers = with lib.maintainers; [ jnsgruk vpetersson ];
maintainers = with lib.maintainers; [
jnsgruk
vpetersson
];
};
}