[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/46: gnu: Add rust-float-cmp-0.5.
From: |
guix-commits |
Subject: |
22/46: gnu: Add rust-float-cmp-0.5. |
Date: |
Thu, 19 Mar 2020 16:46:16 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit f90a306d1f694f15f7b0c165fe7ef102bb3cfa99
Author: Efraim Flashner <address@hidden>
AuthorDate: Thu Mar 19 00:01:59 2020 +0200
gnu: Add rust-float-cmp-0.5.
* gnu/packages/crates-io.scm (rust-float-cmp-0.5): New variable.
(rust-float-cmp-0.3): Inherit from rust-float-cmp-0.5.
---
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 eb98877..b08324b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5227,10 +5227,10 @@ Reader/Writer streams. Contains bindings for zlib,
deflate, and gzip-based
streams.")
(license (list license:expat license:asl2.0))))
-(define-public rust-float-cmp-0.3
+(define-public rust-float-cmp-0.5
(package
(name "rust-float-cmp")
- (version "0.3.0")
+ (version "0.5.3")
(source
(origin
(method url-fetch)
@@ -5239,16 +5239,33 @@ streams.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1c0hmj46xma5aysz0qb49padhc26aw875whx6q6rglsj5dqpds1b"))))
+ "03hmx3n48hjm0x1ig84n1j87kzp75lzr6cj1sgi6a6pykgn4n8km"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-num" ,rust-num-0.1))))
+ `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))
(home-page "https://github.com/mikedilger/float-cmp")
(synopsis "Floating point approximate comparison traits")
(description
"Floating point approximate comparison traits in Rust.")
(license license:expat)))
+(define-public rust-float-cmp-0.3
+ (package
+ (inherit rust-float-cmp-0.5)
+ (name "rust-float-cmp")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "float-cmp" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1c0hmj46xma5aysz0qb49padhc26aw875whx6q6rglsj5dqpds1b"))))
+ (arguments
+ `(#:cargo-inputs (("rust-num" ,rust-num-0.1))))))
+
(define-public rust-float-ord-0.2
(package
(name "rust-float-ord")
- 15/46: gnu: Add rust-cairo-rs-0.8., (continued)
- 15/46: gnu: Add rust-cairo-rs-0.8., guix-commits, 2020/03/19
- 20/46: gnu: Add rust-float-cmp-0.3., guix-commits, 2020/03/19
- 17/46: gnu: Add rust-num-complex-0.1., guix-commits, 2020/03/19
- 24/46: gnu: Add rust-glib-0.8., guix-commits, 2020/03/19
- 26/46: gnu: Add rust-cssparser-macros-0.3., guix-commits, 2020/03/19
- 19/46: gnu: Add rust-num-0.1., guix-commits, 2020/03/19
- 21/46: gnu: Add rust-dtoa-short-0.3., guix-commits, 2020/03/19
- 23/46: gnu: Add rust-procedural-masquerade-0.1., guix-commits, 2020/03/19
- 25/46: gnu: Add rust-cairo-rs-0.7., guix-commits, 2020/03/19
- 18/46: gnu: Add rust-num-rational-0.1., guix-commits, 2020/03/19
- 22/46: gnu: Add rust-float-cmp-0.5.,
guix-commits <=
- 27/46: gnu: Add rust-cssparser-0.25., guix-commits, 2020/03/19
- 28/46: gnu: Add rust-data-url-0.1., guix-commits, 2020/03/19
- 31/46: gnu: Add rust-gio-0.7., guix-commits, 2020/03/19
- 29/46: gnu: Add rust-fragile-0.3., guix-commits, 2020/03/19
- 30/46: gnu: Add rust-gir-format-check-0.1., guix-commits, 2020/03/19
- 32/46: gnu: Add rust-gdk-pixbuf-0.7., guix-commits, 2020/03/19
- 35/46: gnu: rust-matrixmultiply-0.1: Don't skip build., guix-commits, 2020/03/19
- 36/46: gnu: Add rust-recycler-0.1., guix-commits, 2020/03/19
- 34/46: gnu: Add rust-matrixmultiply-0.2., guix-commits, 2020/03/19
- 33/46: gnu: Add rust-rawpointer-0.2., guix-commits, 2020/03/19