guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/25: gnu: Add go-github-com-jba-templatecheck.


From: guix-commits
Subject: 06/25: gnu: Add go-github-com-jba-templatecheck.
Date: Mon, 6 Feb 2023 18:06:17 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit ed4effffd24baf7b1f5e5a3f8d064e425ed529d7
Author: Katherine Cox-Buday <cox.katherine.e@gmail.com>
AuthorDate: Tue Jan 17 18:44:51 2023 -0700

    gnu: Add go-github-com-jba-templatecheck.
    
    * gnu/packages/golang.scm (go-github-com-jba-templatecheck): New variable.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b3710559ac..4e88ceec0c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8585,6 +8585,32 @@ file system operations.")
 legal Go source code, and returns an error when detects that it cannot.")
     (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.")
+    (license license:expat)))
+
 (define-public go-github-com-jbenet-go-context
   (let ((commit "d14ea06fba99483203c19d92cfcd13ebe73135f4")
         (revision "1"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]