ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / dn / dnsproxy / package.nix
blobd4c94330590da747b35520f12d7834db81694eb9
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "dnsproxy";
9   version = "0.73.2";
11   src = fetchFromGitHub {
12     owner = "AdguardTeam";
13     repo = "dnsproxy";
14     rev = "v${version}";
15     hash = "sha256-Xxi23Cwm389fsDcYa3qJ9GhDZVXwh/LiWPfiYMuG5Js=";
16   };
18   vendorHash = "sha256-tyEp0vY8hWE8jTvkxKuqQJcgeey+c50pxREpmlZWE24=";
20   ldflags = [
21     "-s"
22     "-w"
23     "-X"
24     "github.com/AdguardTeam/dnsproxy/internal/version.version=${version}"
25   ];
27   # Development tool dependencies; not part of the main project
28   excludedPackages = [ "internal/tools" ];
30   doCheck = false;
32   meta = with lib; {
33     description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
34     homepage = "https://github.com/AdguardTeam/dnsproxy";
35     license = licenses.asl20;
36     maintainers = with maintainers; [
37       contrun
38       diogotcorreia
39     ];
40     mainProgram = "dnsproxy";
41   };