From patchwork Fri Oct 14 20:55:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 43411 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 658D927BBEA; Fri, 14 Oct 2022 21:57:16 +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 E3B6227BBE9 for ; Fri, 14 Oct 2022 21:57:15 +0100 (BST) Received: from localhost ([::1]:48938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojRk2-0000AV-Kd for patchwork@mira.cbaines.net; Fri, 14 Oct 2022 16:57:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojRjq-00007u-9v for guix-patches@gnu.org; Fri, 14 Oct 2022 16:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojRjq-0002Z7-2G for guix-patches@gnu.org; Fri, 14 Oct 2022 16:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojRjp-0007sL-Ts for guix-patches@gnu.org; Fri, 14 Oct 2022 16:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58465] [PATCH v3 1/1] gnu: Add guile-dns. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Oct 2022 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac , Christopher Baines Cc: 58465@debbugs.gnu.org Received: via spool by 58465-submit@debbugs.gnu.org id=B58465.166578096330201 (code B ref 58465); Fri, 14 Oct 2022 20:57:01 +0000 Received: (at 58465) by debbugs.gnu.org; 14 Oct 2022 20:56:03 +0000 Received: from localhost ([127.0.0.1]:38775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojRit-0007r3-1c for submit@debbugs.gnu.org; Fri, 14 Oct 2022 16:56:03 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:46970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojRiq-0007qT-V0 for 58465@debbugs.gnu.org; Fri, 14 Oct 2022 16:56:01 -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: References:In-Reply-To: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:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UbLxv63NIbCM6qWcRq9PfTe8EiOtdlkIEbGbP2gM+Po=; b=CZgjNbGHZAF6Zdldtu/mcYbKz8 kPU0snqFcYhDjT+c5LwnchrvukTuQjgsTQqbqekMeOq/F2gfF5X4ZeaM/1M2H4wYtB61zOzOspYrN dQUapHV2RGkMl4mfdDGE9zI3i61NrqeZk7z0ruzC1yJBCLzpt1DLP+libWbgpJ8AqnqbBfoNW5Gno ilHf6R2srpeKoAUigYDeWDKx25Jr7DJf9OGiv6tbt3Jh0YQ+nzRZ5u8uUpfP5iHd2gqeE1cQMpyf6 qqU/A5ahz++fz6oOW2c6ngjbRNfZFdFH6JZ0zq0s5meodWQy3h4Mi6VI4bkbuMuVYWlLNTQIrlh86 XAy/+poA==; Received: from [192.168.2.1] (port=7186 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 1ojRip-0009er-0X; Sat, 15 Oct 2022 02:25:59 +0530 From: Arun Isaac Date: Sat, 15 Oct 2022 02:25:49 +0530 Message-Id: <20221014205549.21556-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.37.3 In-Reply-To: <877d1287g8.fsf@systemreboot.net> References: <877d1287g8.fsf@systemreboot.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/guile-xyz.scm (guile-dns): New variable. --- gnu/packages/guile-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 379d9aa264..16ee197c2a 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4426,6 +4426,50 @@ (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) + ;; Prevent guild warnings. + "GUILE_AUTO_COMPILE=0" + ;; Make tests verbose and disable coverage + ;; report. The coverage report fails on + ;; i686-linux. + "TEST_FLAGS=--verbose") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-makefile + (lambda _ + (substitute* "Makefile" + ;; CURDIR is a standard GNU Make variable. Prefer it to + ;; PWD. PWD is set by the shell and is absent in the + ;; build process. + (("PWD") "CURDIR") + ;; Install info file at share/info, not at share. + (("share doc") "share/info doc")))) + (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")