From a937d4c34203e7932191eca19760a40769c70d5f Mon Sep 17 00:00:00 2001 From: Darragh Elliott Date: Mon, 29 Jan 2024 18:31:29 +0000 Subject: [PATCH 1/2] maintainers: add delliott --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f9494c4d9675..e870a7ff0930 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4590,6 +4590,12 @@ githubId = 47436522; name = "deliciouslytyped"; }; + delliott = { + name = "Darragh Elliott"; + github = "delliottxyz"; + githubId = 150736012; + email = "me+git@delliott.xyz"; + }; delroth = { email = "delroth@gmail.com"; github = "delroth"; From c12078dfa0d9c807f7a9382a21e3c7a728e49f6c Mon Sep 17 00:00:00 2001 From: Darragh Elliott Date: Mon, 29 Jan 2024 18:39:03 +0000 Subject: [PATCH 2/2] ddns-updater: init at 2.6.0 --- pkgs/by-name/dd/ddns-updater/package.nix | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/dd/ddns-updater/package.nix diff --git a/pkgs/by-name/dd/ddns-updater/package.nix b/pkgs/by-name/dd/ddns-updater/package.nix new file mode 100644 index 000000000000..b68479082f65 --- /dev/null +++ b/pkgs/by-name/dd/ddns-updater/package.nix @@ -0,0 +1,37 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +buildGoModule rec { + pname = "ddns-updater"; + version = "2.6.0"; + + src = fetchFromGitHub { + owner = "qdm12"; + repo = "ddns-updater"; + rev = "v${version}"; + hash = "sha256-NU6KXVjggsXVCKImGqbB1AXcph+ycRfkk5S4JNq0cHg="; + }; + + vendorHash = "sha256-Ibrv0m3Tz/5JbkHYmiJ9Ijo37fjHc7TP100K7ZTwO8I="; + + ldflags = [ + "-s" + "-w" + ]; + + subPackages = [ "cmd/updater" ]; + + postInstall = '' + mv $out/bin/updater $out/bin/ddns-updater + ''; + + 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"; + }; +}