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

commit 5e9eb09edb6f0473be88b3ec1c21208785ffcc2a
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed Feb 12 16:14:04 2025 +0000

    gnu: Add go-github-com-sap-go-hdb.
    
    * gnu/packages/golang-xyz.scm (go-github-com-sap-go-hdb): New variable.
    
    Change-Id: I7df9c4834677c24c3f54611cabeb99139f47f2f9
---
 gnu/packages/golang-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 6176d9adc9..22bb3fab5f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13490,6 +13490,47 @@ logging.")
 symbols in the style of Sublime Text, VSCode, @code{IntelliJ} IDEA et al.")
     (license license:expat)))
 
+(define-public go-github-com-sap-go-hdb
+  (package
+    (name "go-github-com-sap-go-hdb")
+    (version "1.13.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/SAP/go-hdb";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zw37fi0msglsakwynj913zkbj3mfggjhdd5w042khnlm122b129"))
+       (modules '((guix build utils)))
+       (snippet
+        #~(begin
+            ;; Submodules with their own go.mod files and packaged separately:
+            ;;
+            ;; - github.com/SAP/go-hdb/prometheus
+            (delete-file-recursively "prometheus")))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.23
+      #:skip-build? #t
+      #:import-path "github.com/SAP/go-hdb"
+      ;; XXX: The most of the tests require access to database, run some
+      ;; portion of unit tests only.
+      #:test-subdirs #~(list "driver/internal/..."
+                             "driver/unicode/cesu8")))
+    (propagated-inputs
+     (list go-golang-org-x-crypto
+           go-golang-org-x-text))
+    (home-page "https://github.com/SAP/go-hdb";)
+    (synopsis "SAP HANA Database Client for Golang")
+    (description
+     "Go-hdb is a native Go @url{https://en.wikipedia.org/wiki/SAP_HANA, HANA}
+database driver for Go's sql package.  It implements the SAP HANA SQL command
+network protocol.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-saracen-walker
   (package
     (name "go-github-com-saracen-walker")

Reply via email to