biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / routedns / default.nix
blob0b6f6822bb8d087c4b97a23b03719e8309b94bfd
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "routedns";
8   version = "0.1.51";
10   src = fetchFromGitHub {
11     owner = "folbricht";
12     repo = "routedns";
13     rev = "v${version}";
14     hash = "sha256-9H/l6EAbrNwD2DnweBqjmcoaJEnTH9BdGn2x/ZC3us4=";
15   };
17   vendorHash = "sha256-yOYeMYAXa1jok8QwGtYsvuUGgIXEjZGo6+FiDQkZwUU=";
19   subPackages = [ "./cmd/routedns" ];
21   ldflags = [ "-s" "-w" ];
23   meta = with lib; {
24     homepage = "https://github.com/folbricht/routedns";
25     description = "DNS stub resolver, proxy and router";
26     license = licenses.bsd3;
27     maintainers = with maintainers; [ jsimonetti ];
28     mainProgram = "routedns";
29   };