gnu: rust-cast: Add 0.3.

* gnu/packages/crates-io.scm (rust-cast-0.3): New variable.
(rust-cast-0.2): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-25 15:38:58 +02:00
parent b9ad6cb413
commit 433cca4bc1
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -10177,8 +10177,32 @@ (define-public rust-cassowary-0.3
box''.")
(license (list license:expat license:asl2.0))))
(define-public rust-cast-0.3
(package
(name "rust-cast")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "cast" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1dbyngbyz2qkk0jn2sxil8vrz3rnpcj142y184p9l4nbl9radcip"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-1))))
(home-page "https://github.com/japaric/cast.rs")
(synopsis
"Ergonomic, checked cast functions for primitive types")
(description
"Ergonomic, checked cast functions for primitive types.")
(license (list license:expat license:asl2.0))))
(define-public rust-cast-0.2
(package
(inherit rust-cast-0.3)
(name "rust-cast")
(version "0.2.3")
(source
@ -10196,13 +10220,7 @@ (define-public rust-cast-0.2
#:cargo-inputs
(("rust-rustc-version" ,rust-rustc-version-0.2))
#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-0.9))))
(home-page "https://github.com/japaric/cast.rs")
(synopsis
"Ergonomic, checked cast functions for primitive types")
(description
"Ergonomic, checked cast functions for primitive types.")
(license (list license:expat license:asl2.0))))
(("rust-quickcheck" ,rust-quickcheck-0.9))))))
(define-public rust-cblas-sys-0.1
(package