guix-commits
[Top][All Lists]
Advanced

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

33/63: gnu: Add rust-serde-big-array-0.5.


From: guix-commits
Subject: 33/63: gnu: Add rust-serde-big-array-0.5.
Date: Thu, 8 Feb 2024 14:09:38 -0500 (EST)

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

commit 9c2c2fb730157f14f8ef2c2629b01082d17dd8ee
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 8 10:27:39 2024 +0200

    gnu: Add rust-serde-big-array-0.5.
    
    * gnu/packages/crates-io.scm (rust-serde-big-array-0.5): New variable.
    (rust-serde-big-array-0.4): Inherit from rust-serde-big-array-0.5.
    
    Change-Id: I5cd56d5db91cb20297a62fc0751676b24de3911f
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 65929125ca..1ad4afdb6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57668,8 +57668,30 @@ formats:
     (description "This package provides a serde crate's auxiliary library.")
     (license license:expat)))
 
+(define-public rust-serde-big-array-0.5
+  (package
+    (name "rust-serde-big-array")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde-big-array" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zsb9s9rcca3408kg20c6xpx917c9vbbnap5gvrf0wvdqz17rz0i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/est31/serde-big-array";)
+    (synopsis "Big array helper for serde.")
+    (description "Big array helper for serde.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-serde-big-array-0.4
   (package
+    (inherit rust-serde-big-array-0.5)
     (name "rust-serde-big-array")
     (version "0.4.1")
     (source (origin
@@ -57678,17 +57700,12 @@ formats:
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32 
"1rwhbrffdxy87bxbyx8p68cg30gf0dlflx14vk1qiwlafjdg08rk"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs
        (("rust-serde-derive" ,rust-serde-derive-1)
-        ("rust-serde-json" ,rust-serde-json-1))))
-    (home-page "https://github.com/est31/serde-big-array";)
-    (synopsis "Big array helper for serde")
-    (description "Big array helper for serde.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-serde-json" ,rust-serde-json-1))))))
 
 (define-public rust-serde-big-array-0.3
   (package



reply via email to

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