nixpkgs/pkgs/tools/networking/dnsproxy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
865 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-11-18 02:38:12 +00:00
buildGoModule rec {
pname = "dnsproxy";
2024-05-31 14:25:34 +00:00
version = "0.71.2";
2019-11-18 02:38:12 +00:00
src = fetchFromGitHub {
owner = "AdguardTeam";
2024-02-11 10:36:45 +00:00
repo = "dnsproxy";
2019-11-18 02:38:12 +00:00
rev = "v${version}";
2024-05-31 14:25:34 +00:00
hash = "sha256-fsJWyb3YFmTeLf1qbO42RTldiEv3MeXyrySywGmIg5A=";
2019-11-18 02:38:12 +00:00
};
2024-05-31 14:25:34 +00:00
vendorHash = "sha256-oINdRXLtfoCOpZ+n4HAkPtXyKen4m9VaDz1ggiEzehc=";
2019-11-18 02:38:12 +00:00
2024-02-11 10:36:45 +00:00
ldflags = [ "-s" "-w" "-X" "github.com/AdguardTeam/dnsproxy/internal/version.version=${version}" ];
# Development tool dependencies; not part of the main project
excludedPackages = [ "internal/tools" ];
doCheck = false;
meta = with lib; {
2019-11-18 02:38:12 +00:00
description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
homepage = "https://github.com/AdguardTeam/dnsproxy";
license = licenses.asl20;
maintainers = with maintainers; [ contrun diogotcorreia ];
2024-02-11 02:19:15 +00:00
mainProgram = "dnsproxy";
2019-11-18 02:38:12 +00:00
};
}