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:
Hartmut Goebel 2020-10-18 01:24:03 +02:00
parent 8076a18e32
commit e02822ede5
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -14085,8 +14085,36 @@ (define-public rust-libpijul-0.12
@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 @@ (define-public rust-libsqlite3-sys-0.15
(("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