summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Scherer <roman@burningswell.com>2025-10-17 14:43:00 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 00:57:05 +0000
commit82a841c45558d151b3def1fda74673abb15b5622 (patch)
treec6ab2ecf14e1983f51541b696b0d3dfa63cb8795
parent5b4396798da6b6dcd7aab1c604e2c4f9f63e7d81 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7a1d68a11fa..97aa1da0e2c 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")