From patchwork Sun Aug 25 21:23:35 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: 67282 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 06A9527BBEA; Sun, 25 Aug 2024 22:25:33 +0100 (BST) 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_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham 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 1424A27BBE2 for ; Sun, 25 Aug 2024 22:25:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siKjb-0005ZV-1a; Sun, 25 Aug 2024 17:25:15 -0400 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 1siKjY-0005YU-To for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:12 -0400 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 1siKjY-000898-LQ for guix-patches@gnu.org; Sun, 25 Aug 2024 17:25:12 -0400 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=BcazDV4PzFTFB7w3lCzkIN5u9Gm/ECEqrfAGAygAgzQ=; b=Yif4JLwoeeLAl5TzNb7OFoku+x/buOTWrKqsdjfzMPWOBV0yJ1u9f2MYndeuta4PNdhwgRCsuY2i8s8SiNDTcWVvnPC4e2Go3ix7H5kfGDWuAKGGlGSMs97k7A7HOClX1DaSgL0CnCDOdTAY3g5IoK6Gd7ke9FT9IPEuh5fyqr70rDGXuTrw7WPqJHBmx5G3SHyLe7HHEMg75cbPBRtek7KolbB/hSl9QE/d/nK/ugOJV6MSyuR2OGOm18Xv2jMYpVZUFQcKhDULwQU/pBG72lQqlxpq95b0MG4/Vl1GxJ+swdSSkIr8hqXVTUjMFZr2NZ6PuwXkXeLUZ+wZJP88Fg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siKkM-0003AO-UJ for guix-patches@gnu.org; Sun, 25 Aug 2024 17:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72810] [PATCH 2/4] gnu: Add go-github-com-libp2p-go-libp2p-asn-util. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Aug 2024 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72810 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72810@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 72810-submit@debbugs.gnu.org id=B72810.172462114412121 (code B ref 72810); Sun, 25 Aug 2024 21:26:02 +0000 Received: (at 72810) by debbugs.gnu.org; 25 Aug 2024 21:25:44 +0000 Received: from localhost ([127.0.0.1]:43395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKk3-00039O-HT for submit@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:43 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siKjz-00038g-J8 for 72810@debbugs.gnu.org; Sun, 25 Aug 2024 17:25:42 -0400 Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5334eec7485so687350e87.3 for <72810@debbugs.gnu.org>; Sun, 25 Aug 2024 14:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724621023; x=1725225823; 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=BcazDV4PzFTFB7w3lCzkIN5u9Gm/ECEqrfAGAygAgzQ=; b=ZiEcZzldgP437Y3StnxC/ogdDl7Pu2NicCKk43imC4+XKfG6nq/HvS3usfRdRJg0d5 myKl+BojTTstq9hOhdVh6jUowCIKe9QBAps38q1nztnsSX2JvgdVsnCpiKf7wmllqPKK kmCTUXlNljXGh0fjwRaj8YSaIOhxI+XQaTYKuFQk6m6q+Ig6JRv+zK/sXI3qmheACCmr 67U10LEOpHA54WxrxvWih+1mYZ89XgljLCJkAGB+/EWSD9T9j0P+Z944aG6eTaRo6UqP ONpsDHuTPFCg5EZGMzDTBvyIf1aQU7gFRifvN46z/h/FWZVPJ/LOwwizjdRIwbwEtsfW v7xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724621023; x=1725225823; 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=BcazDV4PzFTFB7w3lCzkIN5u9Gm/ECEqrfAGAygAgzQ=; b=PK2vgcOGDWca5zk45s9VbEJsG8s3O897wLJTNWULTxbEKJYPCu+vigXcytVSRVXgGy eNviDhMqeb2BlfI7jYSoP+eSsHd6GM1r+6DAhg/2Q5CZdhkvt5F5bxqMmN98omJuK1UH ywURSRx6I4HlAT6C83AWuQ7lETpV2Iw1ega73Y001cdIoHgjwqAcrWSq7czQYN5Mql/j 7/wUzHBA83N7Pc2uiitDtp7eO6wgtYpZqW3ucLGMfIKmHOFBLRJIe3glPxKgxWOsx8rd QTkvBC73T9NyphzETQcUB4FlR1kCdeYEuo/tZpqlskWKNOwwPERF9/5DfTEZM/fxjB2l 0EGQ== X-Gm-Message-State: AOJu0YxpWKAqb7KgLgYrEJHaebKkDfPy0J20yT9rowlBDbpcAmIXJWqp 2YDn2cqCEWVHGG8JqSeIwRaw1gVM8+dAK/0JiPXZeJHxx7a2+DqTw81lmNqQ X-Google-Smtp-Source: AGHT+IHMZPz2EkP518mQcsRvk+PZik4sTYAsiVzqKcu0md30UsEnK2CK8l/BlghvSrhfDcril7tbhA== X-Received: by 2002:a05:6512:ea8:b0:52f:cf7e:b1bc with SMTP id 2adb3069b0e04-5343876c2a6mr3236466e87.1.1724621022511; Sun, 25 Aug 2024 14:23:42 -0700 (PDT) Received: from elephant.. ([5.164.196.227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5334ea29a87sm1272741e87.30.2024.08.25.14.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 14:23:42 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 26 Aug 2024 00:23:35 +0300 Message-ID: X-Mailer: git-send-email 2.45.2 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-libp2p-go-libp2p-asn-util): New variable. Change-Id: Ieb69266f5d637fcbe6b7b5ef1f687852a1a8df20 --- gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index dd226b6c96..28d5b89040 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2201,6 +2201,33 @@ (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-libp2p-go-libp2p-asn-util + (package + (name "go-github-com-libp2p-go-libp2p-asn-util") + (version "0.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-libp2p-asn-util") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1c94sq43bl1kp04lllcfrfyiy5z3zcfz0s65sm1vgb2s40zrwpr7")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/libp2p/go-libp2p-asn-util")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs (list go-golang-org-x-exp)) + (home-page "https://github.com/libp2p/go-libp2p-asn-util") + (synopsis "Golang library for IP to ASN mapping") + (description + "@code{go-libp2p-asn-util} is a Golang library to lookup the ASN (Autonomous +System Number) for an IP address. It uses the IPv6 to ASN database downloaded from +https://iptoasn.com/. Supports only IPv6 addresses for now.") + (license license:expat))) + (define-public go-github-com-libp2p-go-nat (package (name "go-github-com-libp2p-go-nat")