unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48065] [PATCH] gnu: Add zoxide.
       [not found] <875z07ogkj.fsf@qq.com>
@ 2021-04-27 16:09 ` Z572
  2021-04-27 16:12 ` [bug#48065] [PATCH 01/14] gnu: Add rust-ordered-float-2 Zheng Junjie
  1 sibling, 0 replies; 2+ messages in thread
From: Z572 @ 2021-04-27 16:09 UTC (permalink / raw)
  To: 48065





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [bug#48065] [PATCH 01/14] gnu: Add rust-ordered-float-2.
       [not found] <875z07ogkj.fsf@qq.com>
  2021-04-27 16:09 ` [bug#48065] [PATCH] gnu: Add zoxide Z572
@ 2021-04-27 16:12 ` Zheng Junjie
  1 sibling, 0 replies; 2+ messages in thread
From: Zheng Junjie @ 2021-04-27 16:12 UTC (permalink / raw)
  To: 48065; +Cc: Zheng Junjie

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-27 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <875z07ogkj.fsf@qq.com>
2021-04-27 16:09 ` [bug#48065] [PATCH] gnu: Add zoxide Z572
2021-04-27 16:12 ` [bug#48065] [PATCH 01/14] gnu: Add rust-ordered-float-2 Zheng Junjie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).