guix-commits
[Top][All Lists]
Advanced

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

02/32: gnu: Add rust-jiter-0.5.


From: guix-commits
Subject: 02/32: gnu: Add rust-jiter-0.5.
Date: Sun, 15 Dec 2024 11:03:12 -0500 (EST)

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

commit 03fde67298d3997617bbdb7f8a6885e0fb465453
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 15 14:05:14 2024 +0200

    gnu: Add rust-jiter-0.5.
    
    * gnu/packages/crates-io.scm (rust-jiter-0.5): New variable.
    (rust-jiter-0.0.6): Inherit from rust-jiter-0.5.
    
    Change-Id: Idcacd6d28ce201ac23c75c8ccfcd5d782f176e03
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 36 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6ffbdd2925..472e81fabf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38570,8 +38570,43 @@ heavily inspired by the Temporal project.")
      "Provides the Time Zone Database for use in your binary on specific 
platforms.")
     (license (list license:unlicense license:expat))))
 
+(define-public rust-jiter-0.5
+  (package
+    (name "rust-jiter")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jiter" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ayj16d1rx5h5v7ihxgg198a9c190b6shsylzzfhxx9y2i4kbqh2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
+                       ("rust-bitvec" ,rust-bitvec-1)
+                       ("rust-lexical-parse-float" 
,rust-lexical-parse-float-0.8)
+                       ("rust-num-bigint" ,rust-num-bigint-0.4)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-pyo3" ,rust-pyo3-0.22)
+                       ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.22)
+                       ("rust-smallvec" ,rust-smallvec-1))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1)
+        ("rust-codspeed-bencher-compat" ,rust-codspeed-bencher-compat-2)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-pyo3" ,rust-pyo3-0.22)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (native-inputs (list python-minimal-wrapper))   ; For the tests.
+    (home-page "https://github.com/pydantic/jiter/";)
+    (synopsis "Iterable JSON parser")
+    (description "This package provides an iterable JSON parser.")
+    (license license:expat)))
+
 (define-public rust-jiter-0.0.6
   (package
+    (inherit rust-jiter-0.5)
     (name "rust-jiter")
     (version "0.0.6")
     (source
@@ -38581,7 +38616,6 @@ heavily inspired by the Temporal project.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1xr7cajq6r0szl6aga047asrd6cqrvw168yh0sz854znk5m0dnw7"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-ahash" ,rust-ahash-0.8)
@@ -38597,12 +38631,7 @@ heavily inspired by the Temporal project.")
         ("rust-paste" ,rust-paste-1)
         ("rust-pyo3" ,rust-pyo3-0.20)
         ("rust-serde" ,rust-serde-1)
-        ("rust-serde-json" ,rust-serde-json-1))))
-    (native-inputs (list python-minimal-wrapper))   ; For the tests.
-    (home-page "https://github.com/pydantic/jiter/";)
-    (synopsis "Iterable JSON parser")
-    (description "This package provides an iterable JSON parser.")
-    (license license:expat)))
+        ("rust-serde-json" ,rust-serde-json-1))))))
 
 (define-public rust-jiter-0.0.4
   (package



reply via email to

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