summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:47 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:47 +0200
commit2643af2d5b7cd985013e8d46ce2f30d70a878410 (patch)
tree7aa4902c1238dba13fdde1d14839337cb27d81e0
parent5846a5e6a47f8ebaf92839e596277241ce404d1d (diff)
gnu: Add rust-libsqlite3-sys-0.27.
* gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.27): New variable. (rust-libsqlite3-sys-0.26): Inherit from rust-libsqlite3-sys-0.27. Change-Id: Ia32f0aecb84c72781b87a48ede6b8e836ca9eb3c Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 29 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fd0afe81c8..cf16d53c42 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36931,8 +36931,36 @@ library for Spotify.")
This package contains the protobuf logic.")
(license license:expat)))
+(define-public rust-libsqlite3-sys-0.27
+ (package
+ (name "rust-libsqlite3-sys")
+ (version "0.27.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libsqlite3-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05pp60ncrmyjlxxjj187808jkvpxm06w5lvvdwwvxd2qrmnj4kng"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-prettyplease" ,rust-prettyplease-0.2)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))
+ (inputs (list sqlite))
+ (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.26
(package
+ (inherit rust-libsqlite3-sys-0.27)
(name "rust-libsqlite3-sys")
(version "0.26.0")
(source (origin
@@ -36942,20 +36970,13 @@ This package contains the protobuf logic.")
(sha256
(base32
"09j3v5nhgvjdyskgwajhg9g6v3b2ij0lxiz8qqav2cxic7zjxhmg"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bindgen" ,rust-bindgen-0.64)
("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))))
- (inputs
- (list sqlite))
- (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.23
(package