guix-commits
[Top][All Lists]
Advanced

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

112/330: gnu: Add rust-sqlparser-0.43.


From: guix-commits
Subject: 112/330: gnu: Add rust-sqlparser-0.43.
Date: Mon, 18 Mar 2024 07:15:35 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 06c0ecec759f90d743091e2b844bf8624fcb910a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:44:08 2024 +0200

    gnu: Add rust-sqlparser-0.43.
    
    * gnu/packages/crates-io.scm (rust-sqlparser-0.43): New variable.
    
    Change-Id: I5fe7279fb199b3350b530f474d5d62a133bd325e
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5534f8d7cb..bf9ed11a4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66121,6 +66121,33 @@ SPIR-V.")
        (("rust-libc" ,rust-libc-0.2)
         ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))))))
 
+(define-public rust-sqlparser-0.43
+  (package
+    (name "rust-sqlparser")
+    (version "0.43.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlparser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1m7mddhgj9j0hpw8lxzxbbzkrrmd4q019xq6sl5x6z5sbap4np7r"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bigdecimal" ,rust-bigdecimal-0.4)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-sqlparser-derive" ,rust-sqlparser-derive-0.2))
+       #:cargo-development-inputs (("rust-matches" ,rust-matches-0.1)
+                                   ("rust-pretty-assertions" 
,rust-pretty-assertions-1)
+                                   ("rust-simple-logger" 
,rust-simple-logger-4))))
+    (home-page "https://github.com/sqlparser-rs/sqlparser-rs";)
+    (synopsis "Extensible SQL Lexer and Parser")
+    (description
+     "Extensible SQL Lexer and Parser with support for ANSI SQL:2011.")
+    (license license:asl2.0)))
+
 (define-public rust-sqlparser-derive-0.2
   (package
     (name "rust-sqlparser-derive")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]