mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-17 16:38:12 -05:00
gnu: Add rust-float-cmp-0.8.
* gnu/packages/crates-io.scm (rust-float-cmp-0.8): New variable. (rust-float-cmp-0.6): Inherit from rust-float-cmp-0.8.
This commit is contained in:
parent
ca2484f17c
commit
61fc7932b9
1 changed files with 24 additions and 9 deletions
|
@ -7607,8 +7607,31 @@ (define-public rust-flate2-1.0
|
||||||
streams.")
|
streams.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-float-cmp-0.8
|
||||||
|
(package
|
||||||
|
(name "rust-float-cmp")
|
||||||
|
(version "0.8.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "float-cmp" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1i56hnzjn5pmrcm47fwkmfxiihk7wz5vvcgpb0kpfhzkqi57y9p1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#: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
|
||||||
|
(inherit rust-float-cmp-0.8)
|
||||||
(name "rust-float-cmp")
|
(name "rust-float-cmp")
|
||||||
(version "0.6.0")
|
(version "0.6.0")
|
||||||
(source
|
(source
|
||||||
|
@ -7619,15 +7642,7 @@ (define-public rust-float-cmp-0.6
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0zb1lv3ga18vsnpjjdg87yazbzvmfwwllj3aiid8660rp3qw8qns"))))
|
"0zb1lv3ga18vsnpjjdg87yazbzvmfwwllj3aiid8660rp3qw8qns"))))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
|
||||||
`(#: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.5
|
(define-public rust-float-cmp-0.5
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue