diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-15 12:30:38 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-16 12:47:37 +0200 |
commit | 2a386c72634db8e4320748b4bebf17394b8706a9 (patch) | |
tree | 1c4315c20ccaf129e29318001970c6b80b47fbc1 /gnu | |
parent | ab243ae72c871b60af98ad8fe9136541d7f51bf4 (diff) | |
download | guix-2a386c72634db8e4320748b4bebf17394b8706a9.tar.gz guix-2a386c72634db8e4320748b4bebf17394b8706a9.zip |
gnu: Add rust-libsqlite3-sys-0.22.
* gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.22): New variable.
(rust-libsqlite3-sys-0.20): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 40591fab7a..b6a8e2ce56 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23424,17 +23424,17 @@ file. @end itemize") (license license:gpl2+))) -(define-public rust-libsqlite3-sys-0.20 +(define-public rust-libsqlite3-sys-0.22 (package (name "rust-libsqlite3-sys") - (version "0.20.1") + (version "0.22.2") (source (origin (method url-fetch) (uri (crate-uri "libsqlite3-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1g9gbjjpm9phhs991abkzmacszibp94m5nrh331ycd99y9ci1lv4")))) + (base32 "17gqc2mwih81j3ds479gl5zmsxqzzrcrj3yyv62vh34bgy8n82r9")))) (build-system cargo-build-system) (inputs `(("sqlite" ,sqlite))) @@ -23442,7 +23442,7 @@ file. `(#:skip-build? #t #:cargo-inputs ;; build dependencies - (("rust-bindgen" ,rust-bindgen-0.55) + (("rust-bindgen" ,rust-bindgen-0.58) ("rust-cc" ,rust-cc-1) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))) @@ -23451,6 +23451,29 @@ file. (description "Native bindings to the libsqlite3 library") (license license:expat))) +(define-public rust-libsqlite3-sys-0.20 + (package + (inherit rust-libsqlite3-sys-0.22) + (name "rust-libsqlite3-sys") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g9gbjjpm9phhs991abkzmacszibp94m5nrh331ycd99y9ci1lv4")))) + (inputs + `(("sqlite" ,sqlite))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + ;; build dependencies + (("rust-bindgen" ,rust-bindgen-0.55) + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + (define-public rust-libsqlite3-sys-0.18 (package (inherit rust-libsqlite3-sys-0.20) |