diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-30 21:12:55 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:21:32 +0200 |
| commit | 8fc8467ff920fe82746691d27a2b77d7f062a001 (patch) | |
| tree | ddcef891a4b4360f58c72b4dc3bd32486c83372e /gnu/packages/crates-database.scm | |
| parent | db366cb6f3e227a5ff483110ad7fd097f12834ef (diff) | |
gnu: Add rust-sqlite-0.36.
* gnu/packages/crates-database.scm (rust-sqlite-0.36): New variable.
(rust-sqlite-0.30): Inherit from rust-sqlite-0.36.
Change-Id: I62e574076e2e008af4a4e5927a1fcd67421beed6
Diffstat (limited to 'gnu/packages/crates-database.scm')
| -rw-r--r-- | gnu/packages/crates-database.scm | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/gnu/packages/crates-database.scm b/gnu/packages/crates-database.scm index 1a144cd372a..b9ce23d7af2 100644 --- a/gnu/packages/crates-database.scm +++ b/gnu/packages/crates-database.scm | |||
| @@ -831,21 +831,20 @@ libpq.") | |||
| 831 | `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) | 831 | `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) |
| 832 | ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) | 832 | ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) |
| 833 | 833 | ||
| 834 | (define-public rust-sqlite-0.30 | 834 | (define-public rust-sqlite-0.36 |
| 835 | (package | 835 | (package |
| 836 | (name "rust-sqlite") | 836 | (name "rust-sqlite") |
| 837 | (version "0.30.5") | 837 | (version "0.36.1") |
| 838 | (source | 838 | (source |
| 839 | (origin | 839 | (origin |
| 840 | (method url-fetch) | 840 | (method url-fetch) |
| 841 | (uri (crate-uri "sqlite" version)) | 841 | (uri (crate-uri "sqlite" version)) |
| 842 | (file-name (string-append name "-" version ".tar.gz")) | 842 | (file-name (string-append name "-" version ".tar.gz")) |
| 843 | (sha256 | 843 | (sha256 |
| 844 | (base32 "1lbfa0gjkqlhcmj4jy72kzfgd6a57z8gs1y7g34cbp4msvm4rk3f")))) | 844 | (base32 "13kimsfaxl81wm82j6qjzhycvyq4ljzi4kgbzr969vibdyqnzzjx")))) |
| 845 | (build-system cargo-build-system) | 845 | (build-system cargo-build-system) |
| 846 | (arguments | 846 | (arguments |
| 847 | `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) | 847 | `(#:cargo-inputs (("rust-sqlite3-sys" ,rust-sqlite3-sys-0.17)) |
| 848 | ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.15)) | ||
| 849 | #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))) | 848 | #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))) |
| 850 | (inputs (list sqlite)) | 849 | (inputs (list sqlite)) |
| 851 | (home-page "https://github.com/stainless-steel/sqlite") | 850 | (home-page "https://github.com/stainless-steel/sqlite") |
| @@ -853,6 +852,23 @@ libpq.") | |||
| 853 | (description "The package provides an interface to SQLite.") | 852 | (description "The package provides an interface to SQLite.") |
| 854 | (license (list license:asl2.0 license:expat)))) | 853 | (license (list license:asl2.0 license:expat)))) |
| 855 | 854 | ||
| 855 | (define-public rust-sqlite-0.30 | ||
| 856 | (package | ||
| 857 | (inherit rust-sqlite-0.36) | ||
| 858 | (name "rust-sqlite") | ||
| 859 | (version "0.30.5") | ||
| 860 | (source | ||
| 861 | (origin | ||
| 862 | (method url-fetch) | ||
| 863 | (uri (crate-uri "sqlite" version)) | ||
| 864 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 865 | (sha256 | ||
| 866 | (base32 "1lbfa0gjkqlhcmj4jy72kzfgd6a57z8gs1y7g34cbp4msvm4rk3f")))) | ||
| 867 | (arguments | ||
| 868 | `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) | ||
| 869 | ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.15)) | ||
| 870 | #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) | ||
| 871 | |||
| 856 | (define-public rust-sqlite-0.27 | 872 | (define-public rust-sqlite-0.27 |
| 857 | (package | 873 | (package |
| 858 | (inherit rust-sqlite-0.30) | 874 | (inherit rust-sqlite-0.30) |
