From patchwork Thu Nov 14 20:12:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 70403 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A5CEB27BBE2; Thu, 14 Nov 2024 20:14:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 559ED27BBEA for ; Thu, 14 Nov 2024 20:14:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBgEA-0001HB-Tj; Thu, 14 Nov 2024 15:14:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBgE6-0001G8-Tm for guix-patches@gnu.org; Thu, 14 Nov 2024 15:14:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBgE6-0004v8-Kq for guix-patches@gnu.org; Thu, 14 Nov 2024 15:14:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=/JcYKfQhPuSmNS6Bad+XZgSNxPgkNUyFZ76CPfMlNcU=; b=cUf5LANIwrXrjWLohAZrfOyNmywaupF74XREeM37OImxJ66quoLOZg2jMdjSKdivSPKMnhrbmq6jNqdp/sPJkzZzQjYqqHuAk5vtZIX/oJooFbp2rL44fUKLZJRnosqGydkBxCNHhoUtX3X//enlrHG+mlQdj0EIPQA2v7N5TnqIzwZzsH+1gDyplw5KJdRW7NyL2+xwWYJjFI5mitMByZ9nVDFp6DQLu9RzntdYeSbI0HmecrK5v0tj3rS9P+tbeK8oGv+uLJw+fGhh4euyVsTRRHxsEN63WeYXqVU5B+N3yUGj2k9L7BLtIJuD44dxxpXKZqrjkfYapOm5UtxGuQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBgE6-0001Qs-Ff for guix-patches@gnu.org; Thu, 14 Nov 2024 15:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74355] [PATCH 2/7] gnu: Add go-github-com-libdns-libdns. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Nov 2024 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74355@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 74355-submit@debbugs.gnu.org id=B74355.17316152235403 (code B ref 74355); Thu, 14 Nov 2024 20:14:02 +0000 Received: (at 74355) by debbugs.gnu.org; 14 Nov 2024 20:13:43 +0000 Received: from localhost ([127.0.0.1]:47319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBgDm-0001Oy-Fn for submit@debbugs.gnu.org; Thu, 14 Nov 2024 15:13:43 -0500 Received: from mail-lf1-f42.google.com ([209.85.167.42]:40827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBgDj-0001OQ-3d for 74355@debbugs.gnu.org; Thu, 14 Nov 2024 15:13:40 -0500 Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-539f0802bf1so116714e87.3 for <74355@debbugs.gnu.org>; Thu, 14 Nov 2024 12:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731615153; x=1732219953; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/JcYKfQhPuSmNS6Bad+XZgSNxPgkNUyFZ76CPfMlNcU=; b=BCy2q1E4tPs/7uet1D5VJb8TU6iSWYJMk7G8T5s3s/SHCIu7g7UFKUCncjlHBdqsNd dBo9FuRKFmcWZBvwtRd8uaANvp91e7qOZzAlcWY1PTKzPFWOOh/R5or/8oEXBxwl6lXj aH9+I07jKbTRs/5YOTi6rv2rFLqVRHhgP7KcC71JxXW1YXEu/+TTgiK9myagL4ddLPX0 Nz6wq0oISJXuuIzouyIUjCy99q/24ft/M5HkW+9N4t7BXjVb/CODtSX/glscVFYkL5SZ Vyk9RGsqAccHw3uy9WjpADz8QPkLVo9nTL7ivDnQSP7WYmH7Y/M1wyDK7I6qbVfKk1pK ig/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731615153; x=1732219953; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/JcYKfQhPuSmNS6Bad+XZgSNxPgkNUyFZ76CPfMlNcU=; b=CDHsP9gyq9DLAAEduLECzfo3cB5LopqyoYiNLsmdCQIAa1bDV+H6Yy4BcCvk+JeREV 9PWu88UGYkRp3vfquuJYcRV2k3Wb/g5LSfHcMTjWGQ0iOUzuk9/whLhG5qVddf8kUcBE jLoWo2yGs9X+YqAXNVY2WNC5Vlknyh2Q57mJJMU9B8Nh8n6MCRub+qXmmyKvkzcB04IO 9pkSyrGKdKqlD53X9O7wDVjx9/VZ9M8h5VOeSAGLdNPeWB6fMg6tUe291yEvnHtVocce nyFUcAW+hjL2oVa7VBriv+hAQFwcgTjvzjPJwGXFG3DuoSyGtF3qDG1CksD6RSC9I6aO PjTQ== X-Gm-Message-State: AOJu0Yz1yrcqAnF2g4DoR2zhmjHiDJtOClPfS1Z/uPT6N3ByJYIOsqtQ /sAi/5KicJX619pVJzrH1OndW8sbdQ/Fg8CsXFAt1vgiogN114TAtg+oFEQuHGY= X-Google-Smtp-Source: AGHT+IHy9lBr11ZPtZGdICgCCdGR7DEMTmn4wcqawV0jz5dfGzDg7PDsE5NuWoa+I6HpuTj5icv6eg== X-Received: by 2002:a05:6512:3b8b:b0:53d:a07e:8973 with SMTP id 2adb3069b0e04-53dab2919acmr9673e87.1.1731615152845; Thu, 14 Nov 2024 12:12:32 -0800 (PST) Received: from elephant.. ([5.164.195.48]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53da653e3f9sm296167e87.189.2024.11.14.12.12.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 12:12:32 -0800 (PST) From: "Artyom V. Poptsov" Date: Thu, 14 Nov 2024 23:12:21 +0300 Message-ID: <12c60a82e84d5b65741a465bfdb4aefee2e4a0b3.1731615008.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-web.scm (go-github-com-libdns-libdns): New variable. Change-Id: I9d1a1751f575e521deda22177c55ad5be6b41eca --- gnu/packages/golang-web.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 187718b589..c71878423f 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -3077,6 +3077,49 @@ (define-public go-github-com-koron-go-ssdp @acronym{Simple Service Discovery Protocol, SSDP}} library for Golang.") (license license:expat))) +(define-public go-github-com-libdns-libdns + (package + (name "go-github-com-libdns-libdns") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libdns/libdns") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00zx6yij1ac8mhswhsks1nchzgmhbzrsm9hr0faqbmx0vkip78j5")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/libdns/libdns")) + (native-inputs + (list go-github-com-stretchr-testify)) + (propagated-inputs + (list go-golang-org-x-exp)) + (home-page "https://github.com/libdns/libdns") + (synopsis "Universal DNS provider APIs for Go") + (description + "@code{libdns} is a collection of free-range DNS provider client implementations +written in Go. + +This repository defines the core interfaces that provider packages should implement. They are small and idiomatic Go interfaces with well-defined semantics. + +The interfaces include: +@itemize +@item @url{https://pkg.go.dev/github.com/libdns/libdns#RecordGetter, RecordGetter} to +list records. +@item @url{https://pkg.go.dev/github.com/libdns/libdns#RecordAppender, +RecordAppender} to append new records. +@item @url{https://pkg.go.dev/github.com/libdns/libdns#RecordSetter, RecordSetter} to +set (create or change existing) records. +@item @url{https://pkg.go.dev/github.com/libdns/libdns#RecordDeleter, RecordDeleter} +to delete records. +@end itemize +") + (license license:expat))) + (define-public go-github-com-libp2p-go-cidranger (package (name "go-github-com-libp2p-go-cidranger")