diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-17 22:50:38 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:18 -0500 |
commit | e6ab5944e80585cfb6a30448ece19ec09c02e979 (patch) | |
tree | 08cb1132c6153ad05ecd156154f4260b028d6c57 | |
parent | 616a6a87d4a3631a88cde0e0f3a95a549da09761 (diff) | |
download | guix-patches-e6ab5944e80585cfb6a30448ece19ec09c02e979.tar guix-patches-e6ab5944e80585cfb6a30448ece19ec09c02e979.tar.gz |
gnu: Add rust-libsqlite3-sys-0.23.
* gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.23): New variable.
(rust-libsqlite3-sys-0.22): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ed4f3caa6..f264e99437 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27666,8 +27666,34 @@ library.") library.") (license (list license:expat license:asl2.0)))) +(define-public rust-libsqlite3-sys-0.23 + (package + (name "rust-libsqlite3-sys") + (version "0.23.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wm91qnsz729vfl3n1rhaq2ip2v4zzxbsawb975vlh4v8h68bmdb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.59) + ("rust-cc" ,rust-cc-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Native bindings to the libsqlite3 library") + (description "Native bindings to the libsqlite3 library") + (license license:expat))) + (define-public rust-libsqlite3-sys-0.22 (package + (inherit rust-libsqlite3-sys-0.23) (name "rust-libsqlite3-sys") (version "0.22.2") (source @@ -27677,7 +27703,6 @@ library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "17gqc2mwih81j3ds479gl5zmsxqzzrcrj3yyv62vh34bgy8n82r9")))) - (build-system cargo-build-system) (inputs (list sqlite)) (arguments @@ -27687,11 +27712,7 @@ library.") (("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)))) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Native bindings to the libsqlite3 library") - (description "Native bindings to the libsqlite3 library") - (license license:expat))) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) (define-public rust-libsqlite3-sys-0.20 (package |