me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-serial-test-2.

* gnu/packages/crates-io.scm (rust-serial-test-2): New variable.
(rust-serial-test-1): Inherit from rust-serial-test-2.
Efraim Flashner 2023-10-02 08:07:09 +03:00
parent 592c3ba70a
commit 9c2e509cac
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 33 additions and 7 deletions

View File

@ -61581,8 +61581,40 @@ for later processing.")
for data that potentially contains secrets (e.g. cryptographic keys).")
(license (list license:asl2.0 license:expat))))
(define-public rust-serial-test-2
(package
(name "rust-serial-test")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "serial-test" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0b9v0csv9wxl1gcjq99plwimxbmhgr6kzbwqyb457qh3d22xsmhf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-dashmap" ,rust-dashmap-5)
("rust-document-features" ,rust-document-features-0.2)
("rust-fslock" ,rust-fslock-0.2)
("rust-futures" ,rust-futures-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-serial-test-derive" ,rust-serial-test-derive-2))
#:cargo-development-inputs
(("rust-itertools" ,rust-itertools-0.10)
("rust-tokio" ,rust-tokio-1))))
(home-page "https://github.com/palfrey/serial_test")
(synopsis "Allows for the creation of serialised Rust tests")
(description
"This package allows for the creation of serialised Rust tests.")
(license license:expat)))
(define-public rust-serial-test-1
(package
(inherit rust-serial-test-2)
(name "rust-serial-test")
(version "1.0.0")
(source
@ -61592,7 +61624,6 @@ for data that potentially contains secrets (e.g. cryptographic keys).")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04864v5ain4nan2k5l32sr3bxpg0sfxxs2iki3xxcq78g9s3132k"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-dashmap" ,rust-dashmap-5)
@ -61605,12 +61636,7 @@ for data that potentially contains secrets (e.g. cryptographic keys).")
("rust-serial-test-derive" ,rust-serial-test-derive-1))
#:cargo-development-inputs
(("rust-itertools" ,rust-itertools-0.10)
("rust-tokio" ,rust-tokio-1))))
(home-page "https://github.com/palfrey/serial_test")
(synopsis "Allows for the creation of serialised Rust tests")
(description
"This package allows for the creation of serialised Rust tests.")
(license license:expat)))
("rust-tokio" ,rust-tokio-1))))))
(define-public rust-serial-test-0.6
(package