From 4854f87b04ae1e4c4c6de018adf11c4a8f1358d2 Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman Date: Sun, 25 Aug 2024 13:33:25 +0300 Subject: [PATCH] rathole: format with nixfmt --- pkgs/by-name/ra/rathole/package.nix | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/ra/rathole/package.nix b/pkgs/by-name/ra/rathole/package.nix index 4cd63d458e26..6e6138e44830 100644 --- a/pkgs/by-name/ra/rathole/package.nix +++ b/pkgs/by-name/ra/rathole/package.nix @@ -1,11 +1,12 @@ -{ lib -, stdenv -, fetchFromGitHub -, rustPlatform -, pkg-config -, openssl -, nixosTests -, darwin +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, + pkg-config, + openssl, + nixosTests, + darwin, }: rustPlatform.buildRustPackage rec { @@ -21,21 +22,19 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-UyQXAUPnp32THZJAs/p3bIXZjcXTvjy207QBVLCfkr8="; - nativeBuildInputs = [ - pkg-config - ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl - ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ - CoreServices - ]); + ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreServices ]); __darwinAllowLocalNetworking = true; doCheck = false; # https://github.com/rapiz1/rathole/issues/222 - passthru.tests = { inherit (nixosTests) rathole; }; + passthru.tests = { + inherit (nixosTests) rathole; + }; meta = with lib; { description = "Reverse proxy for NAT traversal";