Unverified Commit 4bfecfb3 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

r53-ddns: 1.1.0 -> 1.3.0 (#405048)

parents 90c068fb d69eadeb
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -41,6 +41,11 @@ in
        '';
      };

      ttl = mkOption {
        type = types.int;
        description = "The TTL for the generated record";
      };

      environmentFile = mkOption {
        type = types.str;
        description = ''
@@ -68,7 +73,8 @@ in
      serviceConfig = {
        ExecStart =
          "${pkg}/bin/r53-ddns -zone-id ${cfg.zoneID} -domain ${cfg.domain}"
          + lib.optionalString (cfg.hostname != null) " -hostname ${cfg.hostname}";
          + lib.optionalString (cfg.hostname != null) " -hostname ${cfg.hostname}"
          + lib.optionalString (cfg.ttl != null) " -ttl ${toString cfg.ttl}";
        EnvironmentFile = "${cfg.environmentFile}";
        DynamicUser = true;
      };
+3 −3
Original line number Diff line number Diff line
@@ -6,16 +6,16 @@

buildGoModule rec {
  pname = "r53-ddns";
  version = "1.1.0";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = "fleaz";
    repo = "r53-ddns";
    rev = "v${version}";
    sha256 = "sha256-KJAPhSGaC3upWLfo2eeSD3Vit9Blmbol7s8y3f849N4=";
    sha256 = "sha256-+vJrcRxckAISYjab6kVT2mpChra1D3NflOqNWCch15I=";
  };

  vendorHash = "sha256-KkyMd94cejWkgg/RJudy1lm/M3lsEJXFGqVTzGIX3qM=";
  vendorHash = "sha256-ImV/jxCYIWObN+jCSbXhuzR4TuRc/EgQ8SIV6x+wEpA=";

  meta = with lib; {
    license = licenses.mit;