gnu: rust-diesel-1: Honor #:tests flag.

* gnu/packages/crates-io.scm (rust-diesel-1)[arguments]: Add
cargo-test-flags.  Remove custom 'check phase.

Change-Id: I2cbdf533889857402ce17b4abbded827ac1cfe3c
This commit is contained in:
Efraim Flashner 2023-11-05 15:51:31 +02:00
parent 46c2a4bced
commit c3efbeaca0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -21864,10 +21864,13 @@ (define-public rust-diesel-1
(base32
"0hpmwrc0zx3zvpgwp9zrm6wj8d8i8q8990grlrnfzlivbi6zqyq4"))))
(build-system cargo-build-system)
(native-inputs
(list sqlite))
(arguments
`(#:cargo-inputs
`(#:cargo-test-flags
'("--release"
"--features" "sqlite"
"--"
"--skip=expression::count::count")
#:cargo-inputs
(("rust-bigdecimal" ,rust-bigdecimal-0.1)
("rust-bitflags" ,rust-bitflags-1)
("rust-byteorder" ,rust-byteorder-1)
@ -21892,13 +21895,8 @@ (define-public rust-diesel-1
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-dotenv" ,rust-dotenv-0.10)
("rust-quickcheck" ,rust-quickcheck-0.4)
("rust-tempdir" ,rust-tempdir-0.3))
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "cargo" "test" "--features" "sqlite" "--"
"--skip=expression::count::count"))))))
("rust-tempdir" ,rust-tempdir-0.3))))
(native-inputs (list sqlite))
(home-page "https://diesel.rs")
(synopsis "Safe, extensible ORM and Query Builder")
(description "This package provides a safe, extensible ORM and Query