mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
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.
This commit is contained in:
parent
ab243ae72c
commit
2a386c7263
1 changed files with 29 additions and 6 deletions
|
@ -23424,8 +23424,36 @@ file.
|
|||
@end itemize")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public rust-libsqlite3-sys-0.22
|
||||
(package
|
||||
(name "rust-libsqlite3-sys")
|
||||
(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 "17gqc2mwih81j3ds479gl5zmsxqzzrcrj3yyv62vh34bgy8n82r9"))))
|
||||
(build-system cargo-build-system)
|
||||
(inputs
|
||||
`(("sqlite" ,sqlite)))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
;; build dependencies
|
||||
(("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)))
|
||||
|
||||
(define-public rust-libsqlite3-sys-0.20
|
||||
(package
|
||||
(inherit rust-libsqlite3-sys-0.22)
|
||||
(name "rust-libsqlite3-sys")
|
||||
(version "0.20.1")
|
||||
(source
|
||||
|
@ -23435,7 +23463,6 @@ file.
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1g9gbjjpm9phhs991abkzmacszibp94m5nrh331ycd99y9ci1lv4"))))
|
||||
(build-system cargo-build-system)
|
||||
(inputs
|
||||
`(("sqlite" ,sqlite)))
|
||||
(arguments
|
||||
|
@ -23445,11 +23472,7 @@ file.
|
|||
(("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))))
|
||||
(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.18
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue