guix-commits
[Top][All Lists]
Advanced

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

125/330: gnu: Add rust-polars-sql-0.37.


From: guix-commits
Subject: 125/330: gnu: Add rust-polars-sql-0.37.
Date: Mon, 18 Mar 2024 07:15:42 -0400 (EDT)

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

commit dccc380839b70c62e4ceb0277626a3a1ae14dff2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:55:31 2024 +0200

    gnu: Add rust-polars-sql-0.37.
    
    * gnu/packages/crates-io.scm (rust-polars-sql-0.37): New variable.
    
    Change-Id: Iee5632a52b4fcaf391603070b670c08d25f7c8d4
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ebb7272041..aa0fe2ec88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49803,6 +49803,36 @@ applications.")
         ("rust-rayon" ,rust-rayon-1)
         ("rust-regex" ,rust-regex-1))))))
 
+(define-public rust-polars-sql-0.37
+  (package
+    (name "rust-polars-sql")
+    (version "0.37.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "polars-sql" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0jllznqx496lzndl8ph32204w5zbgvbl1wrfxg0nw54kiy5jmxkp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-hex" ,rust-hex-0.4)
+                       ("rust-polars-arrow" ,rust-polars-arrow-0.37)
+                       ("rust-polars-core" ,rust-polars-core-0.37)
+                       ("rust-polars-error" ,rust-polars-error-0.37)
+                       ("rust-polars-lazy" ,rust-polars-lazy-0.37)
+                       ("rust-polars-plan" ,rust-polars-plan-0.37)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-sqlparser" ,rust-sqlparser-0.39))
+       #:cargo-development-inputs (("rust-polars-core" 
,rust-polars-core-0.37))))
+    (home-page "https://www.pola.rs/";)
+    (synopsis "SQL transpiler for Polars")
+    (description "This package contains an SQL transpiler for Polars.  It can
+convert SQL to Polars logical plans.")
+    (license license:expat)))
+
 (define-public rust-polars-time-0.37
   (package
     (name "rust-polars-time")



reply via email to

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