guix-commits
[Top][All Lists]
Advanced

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

90/97: gnu: Add go-github-com-pascaldekloe-goe.


From: guix-commits
Subject: 90/97: gnu: Add go-github-com-pascaldekloe-goe.
Date: Sun, 15 Sep 2024 16:28:50 -0400 (EDT)

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

commit 70ff18bcd8336a11e2129680960890b74b733ffc
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 1fb9d8b311..6b8091c1bf 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -4043,6 +4043,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]