summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-11 22:14:53 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-11 22:21:32 +0000
commit7bbc2e64a0bfa9de7a58663c1e2bc7da69a99820 (patch)
tree65bf7d796febefaf7ca912a88b97ebf2a7f4bb23 /gnu
parent07c0ff59ea2e2d1492fde61087e734f3eeb56e3d (diff)
gnu: Add go-gorm-io-gorm.
* gnu/packages/golang-xyz.scm (go-gorm-io-gorm): New variable. Change-Id: Ie70b6a6b52a28d54919ebb24e9b5d43d482c9b73
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index cfd693bfda..e29e3c4b55 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -27775,6 +27775,40 @@ The yaml package supports most of YAML 1.2, but preserves some behavior from
1.1 for backwards compatibility.")
(license license:asl2.0)))
+(define-public go-gorm-io-gorm
+ (package
+ (name "go-gorm-io-gorm")
+ (version "1.31.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-gorm/gorm")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0b9g159qpwwickbwrjgpxc17wygbfmn5pg82xfm62spxh76gywfm"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Submodules with their own go.mod files and packaged separately:
+ ;;
+ ;; - gorm.io/gorm/tests
+ (delete-file-recursively "tests")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "gorm.io/gorm"))
+ (propagated-inputs
+ (list go-github-com-jinzhu-inflection
+ go-github-com-jinzhu-now
+ go-golang-org-x-text))
+ (home-page "https://gorm.io/gorm")
+ (synopsis "ORM library for Golang")
+ (description
+ "This package provides an ORM library for Golang.")
+ (license license:expat)))
+
;; XXX: It's a source only variant to include in other packages as input (e.g
;; to build NNCP and remove vendor) dependency for Golang. Full build depends
;; on Bazel <https://bazel.build/>.