Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
893 B
Nix
43 lines
893 B
Nix
{
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
lib,
|
|
nixosTests,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "ddns-updater";
|
|
version = "2.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "qdm12";
|
|
repo = "ddns-updater";
|
|
rev = "v${version}";
|
|
hash = "sha256-Vvk3owtSpwstmC5UaVyUEY+FW25KA+nYp2dOqiP4HTs=";
|
|
};
|
|
|
|
vendorHash = "sha256-RKaUgE/cdzattMWMxiJ5fIXjx3IKE+On6dT/P6y4wqU=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
subPackages = [ "cmd/ddns-updater" ];
|
|
|
|
passthru = {
|
|
tests = {
|
|
inherit (nixosTests) ddns-updater;
|
|
};
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Container to update DNS records periodically with WebUI for many DNS providers";
|
|
homepage = "https://github.com/qdm12/ddns-updater";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ delliott ];
|
|
mainProgram = "ddns-updater";
|
|
};
|
|
}
|