From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mO4QIrNPx2MGHwAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 02:47:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MEPjIbNPx2OMGwAAauVa8A (envelope-from ) for ; Wed, 18 Jan 2023 02:47:31 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4C25C44AB2 for ; Wed, 18 Jan 2023 02:47:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHxWu-0002se-6P; Tue, 17 Jan 2023 20:46:20 -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 1pHxWd-0002S1-Oa for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxWd-0007A9-Ce for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHxWd-0007ZH-8j for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60900] [PATCH 04/25] gnu: Add go-github-com-jba-printsrc. Resent-From: Katherine Cox-Buday Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jan 2023 01:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60900 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60900@debbugs.gnu.org Cc: Katherine Cox-Buday X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167400632528749 (code B ref -1); Wed, 18 Jan 2023 01:46:03 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2023 01:45:25 +0000 Received: from localhost ([127.0.0.1]:38593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxW1-0007TX-Gb for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:60106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxVv-0007SK-EY for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:23 -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 1pHxVu-00021Q-4o for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:18 -0500 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxVs-0006wh-Dk for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:17 -0500 Received: by mail-il1-x133.google.com with SMTP id d10so16365566ilc.12 for ; Tue, 17 Jan 2023 17:45:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=mLJ043IpdrY94kF7C+cKpdBuecpSJ3UE/Vzzb3uYX6g=; b=nBkx19zxOJWbwoGqv0o0RtdTYLTLqWFqOsROCjkXoUOQ04tWFoNPBaDAfePcz6KdYz sSRO4eIDTNT7UTChuz+iqjcQoriPzsUdxbkEnTY54MS9vUPxegGzDLY1OTjcNkIIqddE o8E9gan1SjH22kO1Czl+FAl/fCqP77lyj5Lvn/7WmubmLKGbpVpilDS1s7n1qYx+v+Gw YN70md9fAHI+JneY56xHH0E4yw2BEqflKUaLSlxa+MVqlYDQxog9I2Hv4kXUIt/PdgRV 0GKGW2+TCiJgAKs+f2n9J46DCt+SL1n9WX8T7km0G024R9kGQV5EKMb2b9Bl3zGPnKjM jkNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=mLJ043IpdrY94kF7C+cKpdBuecpSJ3UE/Vzzb3uYX6g=; b=J7U5dOspzqkJjJZOtes6rcEGFJuwSuzJ6/vAkHwY0Fn+bOYWSsvuA78h3NHkDkECuS BkAMUtz/Et7Wpi9GVFOoR5ztQUHQ4HYQcu1Oz6Sv3XVyauoUOs2OlMJaLt0kaDZJ8A/J TuZAYAWPWz11qxp4V5WyPCPA0iry4JD35P7927/4NDDaD7iNLI2Wj0+jT86j+X6CibY4 dqLX4G969K3jtgmq0OS+nvVyNV48ziSKx6sFbwfSCnZghqBUKYM49mtTBFAsZ12WNcAB qVkJnZf+A6/BFe+le0HjeorIjdLpXP5tBu5hGXa+va56HTY/5ZYYq6bZzitMF0GLkX5+ xMrg== X-Gm-Message-State: AFqh2kqDkyjhRuAOwnhBQRtQYh2gei3F6ECr4TUxTqeR8ct93lAvCQ4B LtwPjqc7Y4RJFblroPXf5tNB+NLjUeI= X-Google-Smtp-Source: AMrXdXsrdiRh064WCgDpCIWXxR3vwiolg8RY/Cd00Xvc6CHKhQ3Q4aSSMW8iXLPorYTO4dfjeL+XdQ== X-Received: by 2002:a05:6e02:1d82:b0:30c:41:558 with SMTP id h2-20020a056e021d8200b0030c00410558mr5080730ila.18.1674006314803; Tue, 17 Jan 2023 17:45:14 -0800 (PST) Received: from washu-v4.home.cox-buday.com (c-174-51-139-101.hsd1.co.comcast.net. [174.51.139.101]) by smtp.gmail.com with ESMTPSA id p32-20020a056638192000b0039e89ea68f9sm7889250jal.135.2023.01.17.17.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:45:14 -0800 (PST) From: Katherine Cox-Buday Date: Tue, 17 Jan 2023 18:44:49 -0700 Message-Id: <20230118014510.19320-5-cox.katherine.e@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230118014510.19320-1-cox.katherine.e@gmail.com> References: <20230118014510.19320-1-cox.katherine.e@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::133; envelope-from=cox.katherine.e@gmail.com; helo=mail-il1-x133.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674006451; a=rsa-sha256; cv=none; b=gtX8KJLygqcpRziNe7stgOtSHIuIB0ViKF51yrHEbW5sj2OKHl7LvEy2ZFGutWL7PW+zn1 RPlHeLEzggFwS7H0G4msAIFOhmxKO1c7dxeejLZLrp3PqhomZZuSzPQptU5bqIJ39TIGYH 9G87T9byTcHCymDfoGSFusBLUYfRAz4puol8aCd45nNQj63ImpyioFG2O8daxR850OYwgY gQrWwcV92jW6PT9B5IID9Ey4TdBnMyvMw3U08FriuMyEOWZTNKcY+CTZYjk5m1dXIk8HPT Ym2RZItVhe/yg7Yt0lEsZLvIWwXVMpwuELDLSWNwnBvINvFsGa4K1VR1bZiTVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nBkx19zx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674006451; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mLJ043IpdrY94kF7C+cKpdBuecpSJ3UE/Vzzb3uYX6g=; b=He98SH3ZKWKLrd9XNgRYVKuZlDQ/2Q71NvMzvUuG34GSq/kO6hoK8ZwP8ya5UOB2EjmIO2 OsVhOyPZvQ2AmQFOiNTCFYjsSeWRTZpHqYv/ZshraIZt3hRTTpeEwUPbWpJmAi8l1sig/Z aIyB+R3e3crEfyZCMhkAI98Fuhe6Tw1QBtFiwrRQaJarNuTLD2EEoawNqDhAjJhvTWnLIS kn+RpJcFL1dsxX8Dld94jd7aM4DMTTf/K+6n+HbPz6hKUdVNgG0qcKMq1v67SzyDZN/xBP e9Dzvv2z1HNIeD8T2f60KDPJHxLNtHNtyEvhIYSZTUfHFTIdG/njqLN2iSCieg== X-Spam-Score: 4.57 X-Migadu-Queue-Id: 4C25C44AB2 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nBkx19zx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 4.57 X-TUID: vt2iT4q7FIHH * gnu/packages/golang.scm (go-github-com-jba-printsrc): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 861640435e..677d58d831 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8515,6 +8515,32 @@ (define-public go-github-com-go-git-go-billy file system operations.") (license license:asl2.0))) +(define-public go-github-com-jba-printsrc + (package + (name "go-github-com-jba-printsrc") + (version "0.2.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jba/printsrc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gyy3kmb5a5i710wkv3b7ah7i7sz5sdc7v3sab5m4rxch1sd2fpj")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jba/printsrc" + ;; TODO: Open bug; expecting time.Local, but when local=UTC, we get time.UTC + #:tests? #f)) + (home-page "https://github.com/jba/printsrc") + (synopsis "Prints Go values as sourcecode") + (description + "Package printsrc prints Go values as Go source. It strives to render +legal Go source code, and returns an error when detects that it cannot.") + ;; MIT + (license license:expat))) + (define-public go-github-com-jbenet-go-context (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4") (revision "1")) -- 2.38.1