From: Zheng Junjie <873216071@qq.com>
To: 48065@debbugs.gnu.org
Cc: Zheng Junjie <873216071@qq.com>
Subject: [bug#48065] [PATCH 01/14] gnu: Add rust-ordered-float-2.
Date: Wed, 28 Apr 2021 00:12:20 +0800 [thread overview]
Message-ID: <tencent_0662A66A6459FE1DE9EC94DB9480D74E6D0A@qq.com> (raw)
In-Reply-To: <875z07ogkj.fsf@qq.com>
* gnu/packages/crates-io.scm (rust-ordered-float-2): New variable.
(rust-ordered-float-1): Inherit from above.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 678fa6f93c..02d21cec88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26970,10 +26970,10 @@ system for OpenSSL.")
PartialOrd types, like floats.")
(license (list license:expat license:asl2.0))))
-(define-public rust-ordered-float-1
+(define-public rust-ordered-float-2
(package
(name "rust-ordered-float")
- (version "1.0.2")
+ (version "2.1.1")
(source
(origin
(method url-fetch)
@@ -26982,10 +26982,12 @@ PartialOrd types, like floats.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq"))))
+ "0632g8bacvras6nig1bb1ihgc560476jkrb3is6n542ll86q8vvn"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
(("rust-num-traits" ,rust-num-traits-0.2)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
@@ -26996,6 +26998,21 @@ PartialOrd types, like floats.")
"This package provides wrappers for total ordering on floats in Rust.")
(license license:expat)))
+(define-public rust-ordered-float-1
+ (package
+ (inherit rust-ordered-float-2)
+ (name "rust-ordered-float")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ordered-float" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq"))))))
+
(define-public rust-ordermap-0.3
(package
(name "rust-ordermap")
--
2.31.1
prev parent reply other threads:[~2021-04-27 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-27 16:09 [bug#48065] [PATCH] gnu: Add zoxide Z572
2021-04-27 16:09 ` Z572
2021-04-27 16:12 ` Zheng Junjie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_0662A66A6459FE1DE9EC94DB9480D74E6D0A@qq.com \
--to=873216071@qq.com \
--cc=48065@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.