diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index b3f40c79b0d9..ab13d50fda29 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -15504,6 +15504,17 @@ githubId = 918448; name = "Anthony Lodi"; }; + logan-barnett = { + email = "logustus+nixpkgs@gmail.com"; + github = "LoganBarnett"; + githubId = 27005; + keys = [ + { + fingerprint = "3F29 5F7D 2427 6467 A9B2 3459 41E4 6FB1 ACEA 3EF0"; + } + ]; + name = "Logan Barnett"; + }; logger = { name = "Ido Samuelson"; email = "ido.samuelson@gmail.com"; diff --git a/pkgs/by-name/dn/dness/package.nix b/pkgs/by-name/dn/dness/package.nix new file mode 100644 index 000000000000..ef3becefebd6 --- /dev/null +++ b/pkgs/by-name/dn/dness/package.nix @@ -0,0 +1,41 @@ +{ + fetchFromGitHub, + lib, + openssl, + pkg-config, + rustPlatform, + versionCheckHook, + nix-update-script, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "dness"; + version = "0.5.7"; + + src = fetchFromGitHub { + owner = "nickbabcock"; + repo = "dness"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Vty4ec6aoUh3p2b9vLkNeS5R4pJWzjwYrC5DtVVyhT8="; + }; + + cargoHash = "sha256-WhSeNukPjgM7Cy8LWi/s1YGa5/UxsFU1NGL7vIUlU58="; + + doCheck = false; # Many tests require network access + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ openssl ]; + + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Dynamic DNS updating tool supporting a variety of providers"; + homepage = "https://github.com/nickbabcock/dness"; + maintainers = with lib.maintainers; [ logan-barnett ]; + mainProgram = "dness"; + license = lib.licenses.mit; + }; +})