gnu: Add rust-loom-0.4.
* gnu/packages/crates-io.scm (rust-loom-0.4): New variable. (rust-loom-0.3): Inherit from above.master
parent
326ec739de
commit
e067cc3a98
|
@ -15788,24 +15788,27 @@ by inspecting the system for user preference.")
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-log" ,rust-log-0.4))))))
|
(("rust-log" ,rust-log-0.4))))))
|
||||||
|
|
||||||
(define-public rust-loom-0.3
|
(define-public rust-loom-0.4
|
||||||
(package
|
(package
|
||||||
(name "rust-loom")
|
(name "rust-loom")
|
||||||
(version "0.3.6")
|
(version "0.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "loom" version))
|
(uri (crate-uri "loom" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1vabpqzdhcqy1d64kcyzgfwigiak0dr18whq0lkic8915w7lds50"))))
|
(base32 "1941ji91nvriqqkgzlx285kq38zg74sw68gb2x4pnjbfcfs76k6l"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
;; FIXME: build phase fails with the error: "the
|
||||||
(("rust-cfg-if" ,rust-cfg-if-0.1)
|
;; `#[track_caller]` attribute is an experimental feature".
|
||||||
|
`(#:skip-build? #true
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
("rust-futures-util" ,rust-futures-util-0.3)
|
("rust-futures-util" ,rust-futures-util-0.3)
|
||||||
("rust-generator" ,rust-generator-0.6)
|
("rust-generator" ,rust-generator-0.6)
|
||||||
("rust-scoped-tls" ,rust-scoped-tls-1)
|
("rust-scoped-tls" ,rust-scoped-tls-1.0)
|
||||||
("rust-serde" ,rust-serde-1)
|
("rust-serde" ,rust-serde-1)
|
||||||
("rust-serde-json" ,rust-serde-json-1))))
|
("rust-serde-json" ,rust-serde-json-1))))
|
||||||
(home-page "https://github.com/tokio-rs/loom")
|
(home-page "https://github.com/tokio-rs/loom")
|
||||||
|
@ -15817,6 +15820,27 @@ memory model. It uses state reduction techniques to avoid combinatorial
|
||||||
explosion.")
|
explosion.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-loom-0.3
|
||||||
|
(package
|
||||||
|
(inherit rust-loom-0.4)
|
||||||
|
(name "rust-loom")
|
||||||
|
(version "0.3.6")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "loom" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1vabpqzdhcqy1d64kcyzgfwigiak0dr18whq0lkic8915w7lds50"))))
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-cfg-if" ,rust-cfg-if-0.1)
|
||||||
|
("rust-futures-util" ,rust-futures-util-0.3)
|
||||||
|
("rust-generator" ,rust-generator-0.6)
|
||||||
|
("rust-scoped-tls" ,rust-scoped-tls-1)
|
||||||
|
("rust-serde" ,rust-serde-1)
|
||||||
|
("rust-serde-json" ,rust-serde-json-1))))))
|
||||||
|
|
||||||
(define-public rust-loom-0.2
|
(define-public rust-loom-0.2
|
||||||
(package/inherit rust-loom-0.3
|
(package/inherit rust-loom-0.3
|
||||||
(name "rust-loom")
|
(name "rust-loom")
|
||||||
|
|
Reference in New Issue