gnu: rust-takeable-option: Add 0.5.0.

* gnu/packages/crates-io.scm (rust-takeable-option): Add 0.5.0.
(rust-takeable-option-0.4): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-26 00:57:21 +02:00
parent 6f7b463cbb
commit c5837dfd81
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -61392,8 +61392,28 @@ (define-public rust-take-mut-0.2
(description "This package lets you temporarily take a T from a &mut T.")
(license license:expat)))
(define-public rust-takeable-option-0.5
(package
(name "rust-takeable-option")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "takeable-option" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"182axkm8pq7cynsfn65ar817mmdhayrjmbl371yqp8zyzhr8kbin"))))
(build-system cargo-build-system)
(home-page "https://docs.rs/takeable-option/")
(synopsis "Small wrapper around option")
(description
"This package provides a small wrapper around option.")
(license (list license:asl2.0 license:expat))))
(define-public rust-takeable-option-0.4
(package
(inherit rust-takeable-option-0.5)
(name "rust-takeable-option")
(version "0.4.0")
(source
@ -61404,13 +61424,7 @@ (define-public rust-takeable-option-0.4
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0hvd6vk4ksgg2y99498jw52ric4lxm0i6ygpzqm95gdrhvsxyynp"))))
(build-system cargo-build-system)
(home-page "https://docs.rs/takeable-option/")
(synopsis "Small wrapper around option")
(description
"This package provides a small wrapper around option.")
(license (list license:asl2.0 license:expat))))
"0hvd6vk4ksgg2y99498jw52ric4lxm0i6ygpzqm95gdrhvsxyynp"))))))
(define-public rust-tap-1
(package