guix-commits
[Top][All Lists]
Advanced

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

140/330: gnu: Add rust-sqlparser-0.39.


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

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

commit 84cbd1b89dfd3f4d31d88fb3fc440e42b5e23474
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:59:56 2024 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d383d8b34e..a9696e8f08 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66798,6 +66798,29 @@ SPIR-V.")
      "Extensible SQL Lexer and Parser with support for ANSI SQL:2011.")
     (license license:asl2.0)))
 
+(define-public rust-sqlparser-0.39
+  (package
+    (inherit rust-sqlparser-0.43)
+    (name "rust-sqlparser")
+    (version "0.39.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlparser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mrbqjdqr179qnhy43d0dnrl3yipsp4qyji5rc68j4fyrg14sfvl"))))
+    (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.1))
+       #:cargo-development-inputs
+       (("rust-matches" ,rust-matches-0.1)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-simple-logger" ,rust-simple-logger-4))))))
+
 (define-public rust-sqlparser-derive-0.2
   (package
     (name "rust-sqlparser-derive")



reply via email to

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