guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add rust-jiter-0.0.6.


From: guix-commits
Subject: 03/05: gnu: Add rust-jiter-0.0.6.
Date: Sun, 11 Feb 2024 09:38:09 -0500 (EST)

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

commit 5e68584784d5b3cc976d867459b83b8471ac7788
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sun Feb 11 12:43:26 2024 +0100

    gnu: Add rust-jiter-0.0.6.
    
    * gnu/packages/crates-io.scm (rust-jiter-0.0.6): New variable.
    (rust-jiter-0.0.4): Inherit from rust-jiter-0.0.6.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I59c005152779a9e5fdc26f8e3ed4be7907a8aec4
---
 gnu/packages/crates-io.scm | 93 ++++++++++++++++++++++++++++++----------------
 1 file changed, 61 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0445b93c24..42ec12ea40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28337,38 +28337,6 @@ characters in HTML, decoding and unescaping HTML 
entities as well.")
     (description "This library provides Rust bindings to HTSlib.")
     (license license:expat)))
 
-(define-public rust-jiter-0.0.4
-  (package
-    (name "rust-jiter")
-    (version "0.0.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "jiter" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1f10awvz0yxi4pb0783ya26wrw6bb48qn9smsc5bbxsvaff42zdj"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
-                       ("rust-lexical-core" ,rust-lexical-core-0.8)
-                       ("rust-num-bigint" ,rust-num-bigint-0.4)
-                       ("rust-num-traits" ,rust-num-traits-0.2)
-                       ("rust-pyo3" ,rust-pyo3-0.20)
-                       ("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.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)))
-
 (define-public rust-jwalk-0.8
   (package
     (name "rust-jwalk")
@@ -31461,6 +31429,67 @@ strings and byte slices for sets of ASCII characters 
or bytes.")
         (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-jiter-0.0.6
+  (package
+    (name "rust-jiter")
+    (version "0.0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jiter" version))
+       (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)
+        ("rust-hashbrown" ,rust-hashbrown-0.14)
+        ("rust-lexical-core" ,rust-lexical-core-0.8)
+        ("rust-num-bigint" ,rust-num-bigint-0.4)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-pyo3" ,rust-pyo3-0.20)
+        ("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.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)))
+
+(define-public rust-jiter-0.0.4
+  (package
+    (inherit rust-jiter-0.0.6)
+    (name "rust-jiter")
+    (version "0.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jiter" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1f10awvz0yxi4pb0783ya26wrw6bb48qn9smsc5bbxsvaff42zdj"))))
+    (arguments
+     `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
+                       ("rust-lexical-core" ,rust-lexical-core-0.8)
+                       ("rust-num-bigint" ,rust-num-bigint-0.4)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-pyo3" ,rust-pyo3-0.20)
+                       ("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.20)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-jni-0.21
   (package
     (name "rust-jni")



reply via email to

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