dnsproxy: rfc format style

This commit is contained in:
Diogo Correia
2024-08-06 21:20:28 +01:00
parent fd7b1400a0
commit 517cc0d735
+15 -3
View File
@@ -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";
};
}