guix-commits
[Top][All Lists]
Advanced

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

03/135: gnu: Add rust-easy-cast-0.5.


From: guix-commits
Subject: 03/135: gnu: Add rust-easy-cast-0.5.
Date: Wed, 27 Mar 2024 04:54:37 -0400 (EDT)

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

commit d0556ff30e2452d1e353ba4fdbe108f3864b7b35
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:00 2024 +0100

    gnu: Add rust-easy-cast-0.5.
    
    * gnu/packages/crates-io.scm (rust-easy-cast-0.5): New variable.
    (rust-easy-cast-0.4): Inherit from rust-easy-cast-0.5.
    
    Change-Id: I8cb32c63440257424b53b603d0ce84a3002a5e3a
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 154c525fa8..738fa05340 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21602,20 +21602,20 @@ Rust.")
      "This package provides lightweight binding to DirectWrite.")
     (license license:mpl2.0)))
 
-(define-public rust-easy-cast-0.4
+(define-public rust-easy-cast-0.5
   (package
     (name "rust-easy-cast")
-    (version "0.4.4")
+    (version "0.5.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "easy-cast" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "13ilmaplp2s4vw1vjh4pwbzk7jdxrn0kpf0rk5sli0s1ikp05lab"))))
+        (base32 "1mizff08p0rlmgvi81rqdblji372rhr17xlvzmqylfsz2iw6g4qh"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags '("--") ; fails in --release mode
        #:cargo-inputs (("rust-libm" ,rust-libm-0.2))))
     (home-page "https://github.com/kas-gui/easy-cast";)
     (synopsis "Type conversions which are expected to succeed")
@@ -21623,6 +21623,22 @@ Rust.")
 easy.")
     (license license:asl2.0)))
 
+(define-public rust-easy-cast-0.4
+  (package
+    (inherit rust-easy-cast-0.5)
+    (name "rust-easy-cast")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "easy-cast" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13ilmaplp2s4vw1vjh4pwbzk7jdxrn0kpf0rk5sli0s1ikp05lab"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libm" ,rust-libm-0.2))))))
+
 (define-public rust-easy-parallel-3
   (package
     (name "rust-easy-parallel")



reply via email to

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