From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 cKLSKdFPx2Pk+gAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 02:48:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id COH0KNFPx2PKOgAAG6o9tA (envelope-from ) for ; Wed, 18 Jan 2023 02:48:01 +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 63B7144BAA for ; Wed, 18 Jan 2023 02:48:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHxWu-0002ss-Gn; 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 1pHxWe-0002SW-Vj for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:09 -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 1pHxWe-0007AY-NM for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHxWe-0007Zv-I9 for guix-patches@gnu.org; Tue, 17 Jan 2023 20:46:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60902] [PATCH 06/25] gnu: Add go-github-com-jba-templatecheck. Resent-From: Katherine Cox-Buday Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jan 2023 01:46:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60902@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.167400632628766 (code B ref -1); Wed, 18 Jan 2023 01:46:04 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2023 01:45:26 +0000 Received: from localhost ([127.0.0.1]:38597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxW2-0007Tm-9J for submit@debbugs.gnu.org; Tue, 17 Jan 2023 20:45:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:60122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHxVx-0007SP-Br 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 1pHxVv-00023E-JE for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:19 -0500 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHxVt-0006xf-Rv for guix-patches@gnu.org; Tue, 17 Jan 2023 20:45:19 -0500 Received: by mail-io1-xd29.google.com with SMTP id r71so6836638iod.2 for ; Tue, 17 Jan 2023 17:45:17 -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=aPG+bicl+NIEc7rV9AGqQ6z0b8guBnEBtyWltssXMRg=; b=SQL7A50QPhEFJxfp8jwdBjom9ciGmv7Y41yTx27qEApeq/ptxT6QMsSq7RINqzzO51 g2XPGp81Q0/9Z+jTMWrHZU8WtY8cWFJFx9nhDJd8nr3efutqwf9NPZPYI1s+NMH6HhfM pjh7m0FjA/Y8HgbtcuVq5Im0oeofJQcQFFYOSYhnQOh/uPCfr8y4XJydJOtK3mLYOlin mTKX0jUQdNrMLd26Vh3jhyN+al0g0ZiCGLkVDgdHmcaXJ/qyUGq0of2GiAUGN8e8ZqXu JYuWKEGapnEyqyvRbZX675xsJis+CE7Tp0pFfwG60U+W6SnkYBSppCZIa3YlGcZc/8EZ HxPA== 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=aPG+bicl+NIEc7rV9AGqQ6z0b8guBnEBtyWltssXMRg=; b=CcQ/HHMWLDWSI4d1QzR6N32QfGgnctjioZGSxNyTVuiN+6FPmW0r0foiDUOTRrgGp7 0ysVzNikMO73SyRvF3zPM03WdcIB1htHaeVHN6quR38lmifRymtSdVdLdq8nU2DS0ri+ de9n6rW+HqC7hd3IlMD97OrRo4IkQ3wNzPU46OYhjo6jarT/0kk9gHy/OMp/FrKpDsOM 6rIO3A28dsdz6myH6S+bjeJrSlw6z4zGgiZaaqDBZ94jlY4GV5sh08PB0otG3q5VUSWG bfj4VV2zi1xa3u8ncPgBj7MUDPvU7HzNcfWUuQnDYGzPYqW6wz/4XmjeoSxEjbv+9Bd6 VL/A== X-Gm-Message-State: AFqh2kooNnTXScLwKkYneFptiO5CNkszm/6PaSgB/fp1nk1Vc0iFdMzC 1oWftnSfy668Oq8opR/CQ20PtSE6278= X-Google-Smtp-Source: AMrXdXv3ExUKtCqhdaUX16xsqmlL1mSTw8CwL9Aq/c1srEvF/D1+SGfEbJNhfrJocfn8Yn9xVjQGTA== X-Received: by 2002:a5d:8252:0:b0:704:884e:fda2 with SMTP id n18-20020a5d8252000000b00704884efda2mr3824887ioo.12.1674006316681; Tue, 17 Jan 2023 17:45:16 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:45:16 -0800 (PST) From: Katherine Cox-Buday Date: Tue, 17 Jan 2023 18:44:51 -0700 Message-Id: <20230118014510.19320-7-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::d29; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd29.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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674006481; 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=aPG+bicl+NIEc7rV9AGqQ6z0b8guBnEBtyWltssXMRg=; b=D4r5Fj5xluhSdfLyVMpIgwDuwK2gjUvLxSbVmj/aKV9mDsFIgGo27jZK+xVV5Nawxhqeq5 c3RdfoExiVV56PJOvWw1VXUCFZIpHB5HqWD0H62KoNarU2oHVDXJwwA0ba+WhdWxqkbDAU XvXXyi2/QzHCxqCOkPfSQFyS8aetdXDzyDHsYbOpfLdR71JNPdT3+qLc0pYGharZUB7eS+ s3rKJVuRCpqiQ0d9/ifEeJYufRgU4JDQQ64h7zpCiM0vFjfg/JOxQzpUN+PrWzoftnBLu1 5pHJGiO30qMGssF+osXF8ZinmbakiP9LBt0ZZdVeIgUAITEod4VtFatq9bSBMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SQL7A50Q; 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-Seal: i=1; s=key1; d=yhetil.org; t=1674006481; a=rsa-sha256; cv=none; b=JHJM9iFyAVsnix3LjG7tSAVCJn6J60sxNAOaRqB5Nv7wqbqwkZFflE+eqhCEWtdjJ3XAEV eus6ER/tc7fwYwfFN+tcnfncu/AaCwNUMGEnxypBKsrC1H0VLIBV/Jgph5G2j82wNPcd+t X2NGAJNg9SH6OMWdMBXvH/G4K+5PXlOM4xa95QuiL1EoqxtCXKGrOPK8Tc4OylSqNFxXAz TlZyJV+0hgwpabG6896DgX3hZ2xRh+3I9Q/QIaBnI7LYEdsNWf9HTN9ndEa6x0gFDHko5M GVv887UIoD0TqX2Y5VGeXacPRIoji5CBImkGnkVwXBINrBrFAUYMKNpxmkuCHA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 6.17 X-Spam-Score: 6.17 X-Migadu-Queue-Id: 63B7144BAA Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SQL7A50Q; 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-TUID: r6Sa1+b05Q/G * gnu/packages/golang.scm (go-github-com-jba-templatecheck): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 9f7a8160de..aabaa6336c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8541,6 +8541,33 @@ (define-public go-github-com-jba-printsrc ;; MIT (license license:expat))) +(define-public go-github-com-jba-templatecheck + (package + (name "go-github-com-jba-templatecheck") + (version "0.6.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jba/templatecheck") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12iwkidz4p6wdl65jfddqxls80mv879k2rpb42dj7y4dja5advlc")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jba/templatecheck")) + (propagated-inputs (list go-github-com-google-safehtml)) + (home-page "https://github.com/jba/templatecheck") + (synopsis "Checks Go templates for problems") + (description + "Package templatecheck checks Go templates for problems. It can detect +many errors that are normally caught only during execution. Use templatecheck +in tests to find template errors early, and along template execution paths +that might only rarely be reached.") + ;; MIT + (license license:expat))) + (define-public go-github-com-jbenet-go-context (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4") (revision "1")) -- 2.38.1