guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 82a841c45558d151b3def1fda74673abb15b5622
Author: Roman Scherer <[email protected]>
AuthorDate: Fri Oct 17 14:43:00 2025 +0000
gnu: Add go-modernc-org-sqlite.
* gnu/packages/golang-xyz.scm (go-modernc-org-sqlite): New variable.
Change-Id: I61f5a5914d6aac8e7d998165f705039ba09e3b86
Change-Id: I87dcca403b3b05aa977e4b02e0f873c250361e1f
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7a1d68a11f..97aa1da0e2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -24520,6 +24520,41 @@ with ccgo-generated code.")
@code{sort} package.")
(license license:bsd-3)))
+(define-public go-modernc-org-sqlite
+ (package
+ (name "go-modernc-org-sqlite")
+ (version "1.38.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/cznic/sqlite")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0579vip4vn488jppjpadryxyimkw2jr8ywr4j0piqcm2zs40h509"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "modernc.org/sqlite"
+ ;; Tests require modernc.org/ccgo/v4/lib, which is not packaged yet
+ #:tests? #f))
+ (propagated-inputs
+ (list go-github-com-dustin-go-humanize
+ go-github-com-google-uuid
+ go-github-com-ncruces-go-strftime
+ go-github-com-remyoudompheng-bigfft
+ go-golang-org-x-sys
+ go-modernc-org-libc
+ go-modernc-org-mathutil
+ go-modernc-org-memory))
+ (home-page "https://modernc.org/sqlite")
+ (synopsis "CGo-free port of SQLite")
+ (description
+ "Package sqlite is a CGo-free port of SQLite. It is a drop-in
+replacement for mattn/go-sqlite3.")
+ (license license:bsd-3)))
+
(define-public go-modernc-org-strutil
(package
(name "go-modernc-org-strutil")