gnu: Add rust-sqlparser-0.43.

* gnu/packages/crates-io.scm (rust-sqlparser-0.43): New variable.

Change-Id: I5fe7279fb199b3350b530f474d5d62a133bd325e
This commit is contained in:
Efraim Flashner 2024-03-16 21:44:08 +02:00
parent 02fa4fe134
commit f46d3f8f0b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -66318,6 +66318,33 @@ (define-public rust-sqlite3-sys-0.13
(("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")