guix-patches
[Top][All Lists]
Advanced

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

[bug#74495] [PATCH v3 03/15] gnu: Add go-github-com-makenowjust-heredoc.


From: Artyom V. Poptsov
Subject: [bug#74495] [PATCH v3 03/15] gnu: Add go-github-com-makenowjust-heredoc.
Date: Sun, 1 Dec 2024 10:23:39 +0300

* gnu/packages/golang-xyz.scm (go-github-com-makenowjust-heredoc): New variable.

Change-Id: I686dfd6a798da764b004a53a562ca788e70f8cd5
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 913b741871..c3342c91b0 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4916,6 +4916,30 @@ (define-public go-github-com-logrusorgru-aurora-v4
     (native-inputs
      (list go-github-com-stretchr-testify))))
 
+(define-public go-github-com-makenowjust-heredoc
+  (package
+    (name "go-github-com-makenowjust-heredoc")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/makenowjust/heredoc";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "18f21zm8n2wlnkz1ylw8rcxmqxyv2rlz8749yfqggm2m0m2884pj"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/MakeNowJust/heredoc"))
+    (home-page "https://github.com/MakeNowJust/heredoc";)
+    (synopsis "Here-documents with indent")
+    (description
+     "This package implements a functionality of creating here-documents from
+raw strings.")
+    (license license:expat)))
+
 (define-public go-github-com-marcinbor85-gohex
   ;; No release, see <https://github.com/marcinbor85/gohex/issues/5>.
   (let ((commit "baab2527a9a2a4abb3dc06baabedfa5e0268b8d8")
-- 
2.46.0






reply via email to

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