From ba1e8de5dad22a4985e7ff2e88d177c39ba09fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 20 Jun 2022 17:06:40 +0200 Subject: [PATCH] dnscontrol: 3.16.2 -> 3.17.0 --- pkgs/applications/networking/dnscontrol/default.nix | 13 ++++++++----- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/networking/dnscontrol/default.nix b/pkgs/applications/networking/dnscontrol/default.nix index da2104b649ab..88fe43884f87 100644 --- a/pkgs/applications/networking/dnscontrol/default.nix +++ b/pkgs/applications/networking/dnscontrol/default.nix @@ -2,21 +2,24 @@ buildGoModule rec { pname = "dnscontrol"; - version = "3.16.2"; + version = "3.17.0"; src = fetchFromGitHub { owner = "StackExchange"; repo = pname; rev = "v${version}"; - sha256 = "sha256-lzE35PT0QLlZ2jftXpDDvr4S3zD1DOpZVXrGGnzvpc8="; + sha256 = "sha256-eXm2oOHtNnDK4mikge8Ubjkg4b4mG7HMT17nL/CdU88="; }; - vendorSha256 = "sha256-M+Kzw2ZmKV527rPUJ1codtXWN0/5tmph7GMBTze4C7c="; - - subPackages = [ "." ]; + vendorSha256 = "sha256-14SnK5CeMTmt0ZQ+CI14FACcMaNNbBWvAYfbQoJ2K/A="; ldflags = [ "-s" "-w" ]; + preCheck = '' + # requires network + rm pkg/spflib/flatten_test.go pkg/spflib/parse_test.go + ''; + meta = with lib; { description = "Synchronize your DNS to multiple providers from a simple DSL"; homepage = "https://stackexchange.github.io/dnscontrol/"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d204681cc223..31631d66c902 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5209,7 +5209,9 @@ with pkgs; dnscrypt-wrapper = callPackage ../tools/networking/dnscrypt-wrapper { }; - dnscontrol = callPackage ../applications/networking/dnscontrol { }; + dnscontrol = callPackage ../applications/networking/dnscontrol { + buildGoModule = buildGo118Module; + }; dnsenum = callPackage ../tools/security/dnsenum { };