diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-25 10:01:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:58:43 +0200 |
commit | 03d55c13951abbb6f5a470894366b0421a7b9ec7 (patch) | |
tree | dc5b865515c8776281d3246974b95b850a0636a2 | |
parent | d362f60d3dc8ceafaa4a0501bcab39975462e8bb (diff) | |
download | guix-03d55c13951abbb6f5a470894366b0421a7b9ec7.tar.gz |
gnu: Add rust-sqlite-0.30.
* gnu/packages/crates-io.scm (rust-sqlite-0.30): New variable. (rust-sqlite-0.26): Inherit from rust-sqlite-0.30. Change-Id: I2c6ea99708ef5fe134fa10e1cc7587a602de9478
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6d9d51ee82..94ef13ef9e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -70692,8 +70692,31 @@ OIDs)") (description "This package provides sptr, The Strict Provenance Polyfill.") (license (list license:expat license:asl2.0)))) +(define-public rust-sqlite-0.30 + (package + (name "rust-sqlite") + (version "0.30.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lbfa0gjkqlhcmj4jy72kzfgd6a57z8gs1y7g34cbp4msvm4rk3f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.15)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))) + (inputs (list sqlite)) + (home-page "https://github.com/stainless-steel/sqlite") + (synopsis "Interface to SQLite") + (description "The package provides an interface to SQLite.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-sqlite-0.26 (package + (inherit rust-sqlite-0.30) (name "rust-sqlite") (version "0.26.0") (source @@ -70703,16 +70726,11 @@ OIDs)") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0snvg09bs0n8skcxkx52lcymdn0l130a2m8fpvxpdhkyq0sabc9z")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13)))) - (home-page "https://github.com/stainless-steel/sqlite") - (synopsis "Interface to SQLite") - (description "The package provides an interface to SQLite.") - (license (list license:asl2.0 license:expat)))) + ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13)))))) (define-public rust-sqlite3-src-0.5 (package |