gnu: rust-diesel-derives-1: Skip tests.

* gnu/packages/crates-io.scm (rust-diesel-derives-1)[arguments]: Skip
the test suite.  Add cargo-test-flags.
[native-inputs]: Add sqlite.

Change-Id: Ia6fa3951643ba6215e3ea097091968c6e248f134
This commit is contained in:
Efraim Flashner 2023-11-05 15:53:19 +02:00
parent c3efbeaca0
commit 8438d18886
Signed by untrusted user: efraim
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 1 deletions

View File

@ -21917,7 +21917,13 @@ Builder for PostgreSQL, SQLite, and MySQL.")
"1lsq133fwk0zj8xvxhdxqgg0xs31zf3abnwdyshaf0ldca7hkxa5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
`(#:tests? #f ; cannot find type `SqliteConnection` in this scope
#:cargo-test-flags
'("--release"
"--features" "sqlite"
"--"
"--skip=expression::count::count")
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))
@ -21925,6 +21931,7 @@ Builder for PostgreSQL, SQLite, and MySQL.")
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-diesel" ,rust-diesel-1)
("rust-dotenv" ,rust-dotenv-0.10))))
(native-inputs (list sqlite))
(home-page "https://diesel.rs")
(synopsis "Crate internal to Diesel")
(description "You should not use this crate directly, it is internal to