guix-commits
[Top][All Lists]
Advanced

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

109/169: gnu: Add go-github-com-pascaldekloe-goe.


From: guix-commits
Subject: 109/169: gnu: Add go-github-com-pascaldekloe-goe.
Date: Thu, 26 Sep 2024 09:26:06 -0400 (EDT)

sharlatan pushed a commit to branch go-team
in repository guix.

commit b84924a3a586f98d06f0c4c28c4d86b6aeb89fe2
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 15 20:37:07 2024 +0100

    gnu: Add go-github-com-pascaldekloe-goe.
    
    * gnu/packages/golang-web.scm (go-github-com-pascaldekloe-goe): New 
variable.
    
    Change-Id: Idd1de1f2d2e5aab8c6e257706fefa1960bce53ab
---
 gnu/packages/golang-web.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 38798957eb..b0657ce4b0 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -4071,6 +4071,38 @@ used to read GeoLite2 and GeoIP2 databases, 
@code{geoip2} provides a
 higher-level API for doing so.")
     (license license:isc)))
 
+(define-public go-github-com-pascaldekloe-goe
+  (package
+    (name "go-github-com-pascaldekloe-goe")
+    (version "0.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pascaldekloe/goe";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1mszfjcc29b6nvw3hs8w33iy6zx6ih5v2jlard0dsrgkpvsx5c81"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/pascaldekloe/goe"
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; XXX: Replace when go-build-system supports nested path.
+          (delete 'build)
+          (replace 'check
+            (lambda* (#:key import-path tests? #:allow-other-keys)
+              (when tests?
+                (with-directory-excursion (string-append "src/" import-path)
+                  (invoke "go" "test" "-v" "./..."))))))))
+    (home-page "https://github.com/pascaldekloe/goe";)
+    (synopsis "Enterprise tooling for Golang")
+    (description
+     "Common enterprise features for the Go programming language.")
+    (license license:cc0)))
+
 (define-public go-github-com-pion-datachannel
   (package
     (name "go-github-com-pion-datachannel")



reply via email to

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