mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: Add rust-float-cmp-0.9.
* gnu/packages/crates-io.scm (rust-float-cmp-0.9): New variable. (rust-float-cmp-0.8): Inherit from above.
This commit is contained in:
parent
b40b6b0909
commit
1584d33359
1 changed files with 24 additions and 7 deletions
|
@ -19257,8 +19257,31 @@ (define-public rust-flate2-1
|
||||||
streams.")
|
streams.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-float-cmp-0.9
|
||||||
|
(package
|
||||||
|
(name "rust-float-cmp")
|
||||||
|
(version "0.9.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "float-cmp" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1i799ksbq7fj9rm9m82g1yqgm6xi3jnrmylddmqknmksajylpplq"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#: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 "This package provides floating point approximate comparison
|
||||||
|
traits.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-float-cmp-0.8
|
(define-public rust-float-cmp-0.8
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-float-cmp-0.9)
|
||||||
(name "rust-float-cmp")
|
(name "rust-float-cmp")
|
||||||
(version "0.8.0")
|
(version "0.8.0")
|
||||||
(source
|
(source
|
||||||
|
@ -19270,14 +19293,8 @@ (define-public rust-float-cmp-0.8
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1i56hnzjn5pmrcm47fwkmfxiihk7wz5vvcgpb0kpfhzkqi57y9p1"))))
|
"1i56hnzjn5pmrcm47fwkmfxiihk7wz5vvcgpb0kpfhzkqi57y9p1"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2))))
|
`(#: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.6
|
(define-public rust-float-cmp-0.6
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue