guix-commits
[Top][All Lists]
Advanced

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

52/62: gnu: rust-rustc-serialize-0.3: Update to 0.3.25.


From: guix-commits
Subject: 52/62: gnu: rust-rustc-serialize-0.3: Update to 0.3.25.
Date: Wed, 13 Mar 2024 16:22:26 -0400 (EDT)

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

commit 2ca3eb3c83f2c59b295757d6f929ff3951e476ed
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 13 17:10:13 2024 +0200

    gnu: rust-rustc-serialize-0.3: Update to 0.3.25.
    
    * gnu/packages/crates-io.scm (rust-rustc-serialize-0.3.25): Update to
    0.3.25.
    [arguments]: Don't skip the build.  Skip the tests.
    [cargo-inputs]: Remove field.
    [cargo-development-inputs]: Add rust-rand-0.3.
    [home-page]: Update home-page.
    [description]: Add that it is deprecated.
    
    Change-Id: Ibb25e82421f9940386d19e85329ad58ee1a740db
---
 gnu/packages/crates-io.scm | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af14d75b44..08ac72debd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57538,29 +57538,28 @@ forth, as well as the ability to create custom 
thread-pools with ThreadPool.")
 (define-public rust-rustc-serialize-0.3
   (package
     (name "rust-rustc-serialize")
-    (version "0.3.24")
+    (version "0.3.25")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "rustc-serialize" version))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustc-serialize" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00c494bsxjqjvc15h9x2nkgwl6bjdp9bmb9v0xs4ckv0h33lp0zy"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-rand" ,rust-rand-0.3))))
-    (home-page "https://github.com/rust-lang-deprecated/rustc-serialize";)
+     `(#:tests? #f  ; could not find `rustc_serialize` in the crate root
+       #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3))))
+    (home-page "https://github.com/rust-lang/rustc-serialize";)
     (synopsis "Generic serialization/deserialization support")
     (description
      "This package provides generic serialization/deserialization support
 corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
 compiler.  Also includes support for hex, base64, and json encoding and
-decoding.")
-    (license (list license:asl2.0
-                   license:expat))))
+decoding.
+
+This crate is deprecated in favor of serde.")
+    (license (list license:asl2.0 license:expat))))
 
 (define-public rust-rustc-std-workspace-alloc-1
   (package



reply via email to

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