gnu: Add rust-rusty-fork-0.3.

* gnu/packages/crates-io.scm (rust-rusty-fork-0.3): New variable.
(rust-rusty-fork-0.2): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2020-12-09 19:55:16 +01:00
parent 846e2e6188
commit 2919de7e80
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -25685,23 +25685,20 @@ (define-public rust-rustversion-0.1
rustc compiler version.") rustc compiler version.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-rusty-fork-0.2 (define-public rust-rusty-fork-0.3
(package (package
(name "rust-rusty-fork") (name "rust-rusty-fork")
(version "0.2.2") (version "0.3.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "rusty-fork" version)) (uri (crate-uri "rusty-fork" version))
(file-name (file-name (string-append name "-" version ".tar.gz"))
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0kxwq5c480gg6q0j3bg4zzyfh2kwmc3v2ba94jw8ncjc8mpcqgfb"))))
"1bjg8adk0i921088j52rn0hmvsry34q19g96x41pamqcw5j35n9x"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:cargo-inputs
#:cargo-inputs
(("rust-fnv" ,rust-fnv-1) (("rust-fnv" ,rust-fnv-1)
("rust-quick-error" ,rust-quick-error-1.2) ("rust-quick-error" ,rust-quick-error-1.2)
("rust-tempfile" ,rust-tempfile-3) ("rust-tempfile" ,rust-tempfile-3)
@ -25709,9 +25706,29 @@ (define-public rust-rusty-fork-0.2
(home-page "https://github.com/altsysrq/rusty-fork") (home-page "https://github.com/altsysrq/rusty-fork")
(synopsis "Library for running Rust tests in sub-processes") (synopsis "Library for running Rust tests in sub-processes")
(description (description
"Cross-platform library for running Rust tests in sub-processes "This package is a cross-platform library for running Rust tests in
using a fork-like interface.") sub-processes using a fork-like interface.")
(license (list license:asl2.0 license:expat)))) (license (list license:expat license:asl2.0))))
(define-public rust-rusty-fork-0.2
(package
(inherit rust-rusty-fork-0.3)
(name "rust-rusty-fork")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "rusty-fork" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bjg8adk0i921088j52rn0hmvsry34q19g96x41pamqcw5j35n9x"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-fnv" ,rust-fnv-1)
("rust-quick-error" ,rust-quick-error-1.2)
("rust-tempfile" ,rust-tempfile-3)
("rust-wait-timeout" ,rust-wait-timeout-0.2))))))
(define-public rust-ryu-1 (define-public rust-ryu-1
(package (package