From 517cc0d7351778954829f533645688c855aebcea Mon Sep 17 00:00:00 2001 From: Diogo Correia Date: Tue, 6 Aug 2024 21:20:28 +0100 Subject: [PATCH] dnsproxy: rfc format style --- pkgs/tools/networking/dnsproxy/default.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/dnsproxy/default.nix b/pkgs/tools/networking/dnsproxy/default.nix index e53fd23ce2e2..1a6da91d0eb1 100644 --- a/pkgs/tools/networking/dnsproxy/default.nix +++ b/pkgs/tools/networking/dnsproxy/default.nix @@ -1,4 +1,8 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ + lib, + buildGoModule, + fetchFromGitHub, +}: buildGoModule rec { pname = "dnsproxy"; @@ -13,7 +17,12 @@ buildGoModule rec { vendorHash = "sha256-zVmoIC7LZfElEgvSq7CkOi1wOCA8ot+8JfW5wTCKwc8="; - ldflags = [ "-s" "-w" "-X" "github.com/AdguardTeam/dnsproxy/internal/version.version=${version}" ]; + ldflags = [ + "-s" + "-w" + "-X" + "github.com/AdguardTeam/dnsproxy/internal/version.version=${version}" + ]; # Development tool dependencies; not part of the main project excludedPackages = [ "internal/tools" ]; @@ -24,7 +33,10 @@ buildGoModule rec { description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support"; homepage = "https://github.com/AdguardTeam/dnsproxy"; license = licenses.asl20; - maintainers = with maintainers; [ contrun diogotcorreia ]; + maintainers = with maintainers; [ + contrun + diogotcorreia + ]; mainProgram = "dnsproxy"; }; }