coredns: 1.11.1 -> 1.11.3

This commit is contained in:
Erwin Boskma 2024-06-03 11:11:18 +02:00
parent ba990dbc8b
commit a0930c00b3
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -7,18 +7,20 @@
installShellFiles, installShellFiles,
}: }:
let let
version = "1.11.1"; version = "1.11.3";
externalPlugins = [ externalPlugins = [
{ {
name = "tailscale"; name = "tailscale";
repo = "github.com/damomurf/coredns-tailscale"; repo = "github.com/damomurf/coredns-tailscale";
version = "750df081a3cc63f325ecfde6c30a974dc0e4bf56"; version = "c1a2b9d941edc6f701223d6e31be4edf46c9746f";
} }
]; ];
attrsToPlugins = attrs: builtins.map ({ name, repo, ... }: "${name}:${repo}") attrs; attrsToPlugins =
attrsToSources = attrs: builtins.map ({ repo, version, ... }: "${repo}@${version}") attrs; attrs: builtins.map ({ name, repo, ... }: lib.escapeShellArg "${name}:${repo}") attrs;
attrsToSources =
attrs: builtins.map ({ repo, version, ... }: lib.escapeShellArg "${repo}@${version}") attrs;
in in
buildGoModule { buildGoModule {
pname = "coredns"; pname = "coredns";
@ -28,11 +30,12 @@ buildGoModule {
owner = "coredns"; owner = "coredns";
repo = "coredns"; repo = "coredns";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Mn8hOsODTlnl6PJaevMcyIKkIx/1Lk2HGA7fSSizR20="; # sha256 = lib.fakeSha256;
sha256 = "8LZMS1rAqEZ8k1IWSRkQ2O650oqHLP0P31T8oUeE4fw=";
}; };
# vendorHash = lib.fakeHash; # vendorHash = lib.fakeHash;
vendorHash = "sha256-ba8Krc8FVrylsV0n/3JNRTrL3bP8UJRdKF2fy8SYU3o="; vendorHash = "sha256-9oq+oNxOmHuFDIn1hQu7BBb76s615B6Mm3JxqSpEOuI=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];