From patchwork Wed Oct 12 09:48:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 43347 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 62DC327BBEA; Wed, 12 Oct 2022 10:51:05 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 29FA527BBE9 for ; Wed, 12 Oct 2022 10:51:05 +0100 (BST) Received: from localhost ([::1]:42162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiYOG-0008RV-BJ for patchwork@mira.cbaines.net; Wed, 12 Oct 2022 05:51:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiYMJ-0006ho-1a for guix-patches@gnu.org; Wed, 12 Oct 2022 05:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiYMI-00073Q-78 for guix-patches@gnu.org; Wed, 12 Oct 2022 05:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiYMI-0003sS-03 for guix-patches@gnu.org; Wed, 12 Oct 2022 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58465] [PATCH] gnu: Add guile-dns. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Oct 2022 09:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58465@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166556810914861 (code B ref -1); Wed, 12 Oct 2022 09:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2022 09:48:29 +0000 Received: from localhost ([127.0.0.1]:55740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiYLk-0003rc-0o for submit@debbugs.gnu.org; Wed, 12 Oct 2022 05:48:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:50598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiYLh-0003rU-OX for submit@debbugs.gnu.org; Wed, 12 Oct 2022 05:48:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiYLX-0006AE-9a for guix-patches@gnu.org; Wed, 12 Oct 2022 05:48:24 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiYLR-00070F-8O for guix-patches@gnu.org; Wed, 12 Oct 2022 05:48:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6S0ACQI1RnLnFS/Jr4omChhdjgmWAMXesPbnR4vO6Ms=; b=bHSJJ0W+nszQmfRYk+40JqwAJj EdR71V9dXVSDhnOlX07F7IxlT2ULvxSCa7avWI3aUjNqAiJWX6/51nTeXItUkL9ux/EPKqk0VyTYV mBV125e2jPekhbypzohvsWBgu14tzY3bPLNpFd5d6tUl+c8i3DLCXg0aQsd9lPbFB74L401T0frHW fVgiCzRGcEtl1OFB9QX5yq2iBK5CUvtuWcurilbF288UZHjWMazkAfig/mr2VVPdvrlKcmn36n12X 1wZkUarO73gN3Ls9wdRXK1XOxjGDem2nIVgaGLEUcVAEvWBENalw6HKiVk/yhEBJSb5JNq4ZxifLP 1Nz5GaDw==; Received: from [192.168.2.1] (port=7284 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oiYLL-0001qy-2A; Wed, 12 Oct 2022 15:18:03 +0530 From: Arun Isaac Date: Wed, 12 Oct 2022 15:18:01 +0530 Message-Id: <20221012094801.32218-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/guile-xyz.scm (guile-dns): New variable. --- gnu/packages/guile-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 379d9aa264..b7909e8f8d 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4426,6 +4426,42 @@ (define-public guile-avahi (home-page "https://www.nongnu.org/guile-avahi/") (license license:lgpl3+)))) +(define-public guile-dns + (package + (name "guile-dns") + (version "0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.lysator.liu.se/hugo/guile-dns") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18skivracv6jh1zab9dknkcpbizc416n0pb2mcwb20dpzc2md9yf")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags #~(list (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'prefer-curdir + (lambda _ + ;; CURDIR is a standard GNU Make variable. Prefer it to + ;; PWD. PWD is set by the shell and is absent in the build + ;; process. + (substitute* "Makefile" + (("PWD") "CURDIR")))) + (delete 'configure)))) + (inputs + (list guile-3.0)) + (native-inputs + (list texinfo)) + (home-page "https://git.lysator.liu.se/hugo/guile-dns") + (synopsis "Guile DNS library") + (description "@code{guile-dns} is a DNS library written in pure Guile +Scheme.") + (license license:gpl3+))) + (define-public guile-jwt (package (name "guile-jwt")