diff --git a/pkgs/tools/networking/routedns/default.nix b/pkgs/tools/networking/routedns/default.nix index 4cf2c9eeeed..722063147e0 100644 --- a/pkgs/tools/networking/routedns/default.nix +++ b/pkgs/tools/networking/routedns/default.nix @@ -5,25 +5,25 @@ buildGoModule rec { pname = "routedns"; - version = "0.1.5"; + version = "0.1.20"; src = fetchFromGitHub { owner = "folbricht"; repo = "routedns"; - # https://github.com/folbricht/routedns/issues/237 - rev = "02f14a567fee2a289810979446f5260b8a31bf73"; - sha256 = "sha256-oImimNBz1qizUPD6qHi73fGKNCu5cii99GIUo21e+bs="; + rev = "v${version}"; + hash = "sha256-whMSqGsZTr6tj9jbUzkNanR69xfmvXC257DsHooqlkE="; }; - vendorSha256 = "sha256-T6adpxJgOPGy+UOOlGAAf1gjk1wJxwOc9enfv9X3LBE="; + vendorHash = "sha256-XqrV/eBpKzFgNSG9yoP8iqzIEifXEMOCCfPbHo3YKZw="; subPackages = [ "./cmd/routedns" ]; + ldflags = [ "-s" "-w" ]; + meta = with lib; { homepage = "https://github.com/folbricht/routedns"; description = "DNS stub resolver, proxy and router"; license = licenses.bsd3; maintainers = with maintainers; [ jsimonetti ]; - platforms = platforms.linux; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5a46b6afe7f..863746d65e9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33907,7 +33907,7 @@ with pkgs; robustirc-bridge = callPackage ../servers/irc/robustirc-bridge { }; routedns = callPackage ../tools/networking/routedns { - buildGoModule = buildGo118Module; # build fails with 1.19 + buildGoModule = buildGo119Module; # build fails with 1.20 }; skrooge = libsForQt5.callPackage ../applications/office/skrooge { };