build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / by-name / ro / routedns / package.nix
blob434491ae88be796034ecbe7a2f4a68d444c01fa1
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "routedns";
9   version = "0.1.51";
11   src = fetchFromGitHub {
12     owner = "folbricht";
13     repo = "routedns";
14     rev = "v${version}";
15     hash = "sha256-9H/l6EAbrNwD2DnweBqjmcoaJEnTH9BdGn2x/ZC3us4=";
16   };
18   vendorHash = "sha256-yOYeMYAXa1jok8QwGtYsvuUGgIXEjZGo6+FiDQkZwUU=";
20   subPackages = [ "./cmd/routedns" ];
22   ldflags = [
23     "-s"
24     "-w"
25   ];
27   meta = with lib; {
28     homepage = "https://github.com/folbricht/routedns";
29     description = "DNS stub resolver, proxy and router";
30     license = licenses.bsd3;
31     maintainers = with maintainers; [ jsimonetti ];
32     mainProgram = "routedns";
33   };