me
/
guix
Archived
1
0
Fork 0

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>
master
VÖRÖSKŐI András 2024-02-24 21:39:00 +01:00 committed by Efraim Flashner
parent db6a8f1dd2
commit 49ab3f5577
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 23 additions and 7 deletions

View File

@ -21693,8 +21693,30 @@ Rust.")
"This package provides lightweight binding to DirectWrite.") "This package provides lightweight binding to DirectWrite.")
(license license:mpl2.0))) (license license:mpl2.0)))
(define-public rust-easy-cast-0.5
(package
(name "rust-easy-cast")
(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 "1mizff08p0rlmgvi81rqdblji372rhr17xlvzmqylfsz2iw6g4qh"))))
(build-system cargo-build-system)
(arguments
`(#: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")
(description "This library is written to make numeric type conversions
easy.")
(license license:asl2.0)))
(define-public rust-easy-cast-0.4 (define-public rust-easy-cast-0.4
(package (package
(inherit rust-easy-cast-0.5)
(name "rust-easy-cast") (name "rust-easy-cast")
(version "0.4.4") (version "0.4.4")
(source (source
@ -21704,15 +21726,9 @@ Rust.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "13ilmaplp2s4vw1vjh4pwbzk7jdxrn0kpf0rk5sli0s1ikp05lab")))) (base32 "13ilmaplp2s4vw1vjh4pwbzk7jdxrn0kpf0rk5sli0s1ikp05lab"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs (("rust-libm" ,rust-libm-0.2)))) #: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")
(description "This library is written to make numeric type conversions
easy.")
(license license:asl2.0)))
(define-public rust-easy-parallel-3 (define-public rust-easy-parallel-3
(package (package