mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: Add rust-libsqlite3-sys-0.20.
* gnu/packages/crates-io.scm (rust-libsqlite3-sys-0.20): New variable, skipping build. (rust-libsqlite3-sys-0.15): Inherit from rust-libsqlite3-sys-0.20.
This commit is contained in:
parent
8076a18e32
commit
e02822ede5
1 changed files with 29 additions and 5 deletions
|
@ -14085,8 +14085,36 @@ file.
|
|||
@end itemize")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public rust-libsqlite3-sys-0.20
|
||||
(package
|
||||
(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"))))
|
||||
(build-system cargo-build-system)
|
||||
(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))))
|
||||
(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.15
|
||||
(package
|
||||
(inherit rust-libsqlite3-sys-0.20)
|
||||
(name "rust-libsqlite3-sys")
|
||||
(version "0.15.0")
|
||||
(source
|
||||
|
@ -14105,11 +14133,7 @@ file.
|
|||
(("rust-bindgen" ,rust-bindgen-0.49)
|
||||
("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-libz-sys-1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue