diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5f70ff2421..7fc161fb15 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -66995,6 +66995,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")