From ab643b2a20a69045880db8b8b50dfcfabecb274f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 26 Dec 2024 20:31:14 +0200 Subject: [PATCH] gnu: rust-rusqlite: Move to (gnu packages crates-database). * gnu/packages/crates-io.scm (rust-rusqlite-0.32, rust-rusqlite-0.31, rust-rusqlite-0.30, rust-rusqlite-0.29, rust-rusqlite-0.26, rust-rusqlite-macros-0.3, rust-rusqlite-macros-0.2, rust-rusqlite-macros-0.1): Move from here ... * gnu/packages/crates-database.scm: ... to here. * gnu/local.mk (GNU_SYSTEM_MODULES): Register new file. Change-Id: Ibdfc2d09e9ced422572041ef0fbcf0d57fb685fb --- gnu/local.mk | 1 + gnu/packages/crates-database.scm | 264 +++++++++++++++++++++++++++++++ gnu/packages/crates-io.scm | 233 +-------------------------- gnu/packages/crates-web.scm | 1 + gnu/packages/language.scm | 1 + gnu/packages/rust-apps.scm | 1 + gnu/packages/sequoia.scm | 1 + gnu/packages/shells.scm | 1 + 8 files changed, 271 insertions(+), 232 deletions(-) create mode 100644 gnu/packages/crates-database.scm diff --git a/gnu/local.mk b/gnu/local.mk index 2221930c6b..2b5c9007b0 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -214,6 +214,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/crates-audio.scm \ %D%/packages/crates-check.scm \ %D%/packages/crates-crypto.scm \ + %D%/packages/crates-database.scm \ %D%/packages/crates-io.scm \ %D%/packages/crates-graphics.scm \ %D%/packages/crates-gtk.scm \ diff --git a/gnu/packages/crates-database.scm b/gnu/packages/crates-database.scm new file mode 100644 index 0000000000..a7641f8bec --- /dev/null +++ b/gnu/packages/crates-database.scm @@ -0,0 +1,264 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Nicolas Goaziou +;;; Copyright © 2021, 2023, 2024 Efraim Flashner +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-module (gnu packages crates-database) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages sqlite)) + +(define-public rust-rusqlite-0.32 + (package + (name "rust-rusqlite") + (version "0.32.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vlx040bppl414pbjgbp7qr4jdxwszi9krx0m63zzf2f2whvflvp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.9) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.30) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.3) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))) + (inputs (list sqlite)) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Wrapper for SQLite") + (description "This crate provides a wrapper for SQLite.") + (license license:expat))) + +(define-public rust-rusqlite-0.31 + (package + (inherit rust-rusqlite-0.32) + (name "rust-rusqlite") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.9) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))))) + +(define-public rust-rusqlite-0.30 + (package + (inherit rust-rusqlite-0.31) + (name "rust-rusqlite") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kgjk7h53wp8k2di2j83ivf50f0bk6rg7bq8j36ygxb42lb4d057")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.8) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))))) + +(define-public rust-rusqlite-0.29 + (package + (inherit rust-rusqlite-0.30) + (name "rust-rusqlite") + (version "0.29.0") + (source (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.8) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.26) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))))) + +(define-public rust-rusqlite-0.26 + (package + (inherit rust-rusqlite-0.29) + (name "rust-rusqlite") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19sh4nnw1i7a6wacqllz20qpqpdj96jsg3dzaq61cwmd3ywv10la")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) + ("rust-fallible-streaming-iterator" + ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.7) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.23) + ("rust-memchr" ,rust-memchr-2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-0.8)))))) + +(define-public rust-rusqlite-macros-0.3 + (package + (name "rust-rusqlite-macros") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i8fiv3jqwjcq2rdbwd5wycvh6fyfrw0y2wazinr2wpicifmxp7c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-litrs" ,rust-litrs-0.4) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.13)))) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Private implementation detail of rusqlite crate") + (description "This package provides a private implementation detail of the +@code{rusqlite} crate.") + (license license:expat))) + +(define-public rust-rusqlite-macros-0.2 + (package + (inherit rust-rusqlite-macros-0.3) + (name "rust-rusqlite-macros") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07y5887q4via4k7hdfxh61nmcwwz8r0bqlgxrk1p177lrkgz8cdp")))) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-litrs" ,rust-litrs-0.4) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) + +(define-public rust-rusqlite-macros-0.1 + (package + (inherit rust-rusqlite-macros-0.2) + (name "rust-rusqlite-macros") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bbgnp7pgk358js63666ix6a9p4fr4lgigaaf4av3aj45qksi4ix")))) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) + diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a7b711d1c8..a29b044f80 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -88,6 +88,7 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages crates-audio) #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) #:use-module (gnu packages crates-tls) @@ -69753,238 +69754,6 @@ (define-public rust-rusb-0.9 "This package provides a Rust library for accessing USB devices.") (license license:expat))) -(define-public rust-rusqlite-0.32 - (package - (name "rust-rusqlite") - (version "0.32.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vlx040bppl414pbjgbp7qr4jdxwszi9krx0m63zzf2f2whvflvp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.9) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.30) - ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.3) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-1)) - #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-1)))) - (inputs (list sqlite)) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Wrapper for SQLite") - (description "This crate provides a wrapper for SQLite.") - (license license:expat))) - -(define-public rust-rusqlite-0.31 - (package - (inherit rust-rusqlite-0.32) - (name "rust-rusqlite") - (version "0.31.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.9) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) - ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-1)) - #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-1)))))) - -(define-public rust-rusqlite-0.30 - (package - (inherit rust-rusqlite-0.31) - (name "rust-rusqlite") - (version "0.30.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kgjk7h53wp8k2di2j83ivf50f0bk6rg7bq8j36ygxb42lb4d057")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.8) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27) - ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-1)) - #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-1)))))) - -(define-public rust-rusqlite-0.29 - (package - (inherit rust-rusqlite-0.30) - (name "rust-rusqlite") - (version "0.29.0") - (source (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.8) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.26) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-1)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-1)))))) - -(define-public rust-rusqlite-0.26 - (package - (inherit rust-rusqlite-0.29) - (name "rust-rusqlite") - (version "0.26.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19sh4nnw1i7a6wacqllz20qpqpdj96jsg3dzaq61cwmd3ywv10la")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-fallible-streaming-iterator" - ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.7) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.23) - ("rust-memchr" ,rust-memchr-2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8)))))) - -(define-public rust-rusqlite-macros-0.3 - (package - (name "rust-rusqlite-macros") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i8fiv3jqwjcq2rdbwd5wycvh6fyfrw0y2wazinr2wpicifmxp7c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-litrs" ,rust-litrs-0.4) - ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.13)))) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Private implementation detail of rusqlite crate") - (description "This package provides a private implementation detail of the -@code{rusqlite} crate.") - (license license:expat))) - -(define-public rust-rusqlite-macros-0.2 - (package - (inherit rust-rusqlite-macros-0.3) - (name "rust-rusqlite-macros") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07y5887q4via4k7hdfxh61nmcwwz8r0bqlgxrk1p177lrkgz8cdp")))) - (arguments - `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-litrs" ,rust-litrs-0.4) - ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) - -(define-public rust-rusqlite-macros-0.1 - (package - (inherit rust-rusqlite-macros-0.2) - (name "rust-rusqlite-macros") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bbgnp7pgk358js63666ix6a9p4fr4lgigaaf4av3aj45qksi4ix")))) - (arguments - `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) - (define-public rust-rust-base58-0.0.4 (package (name "rust-rust-base58") diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 9dab14a48c..a8f717273d 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -38,6 +38,7 @@ (define-module (gnu packages crates-web) #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-gtk) #:use-module (gnu packages crates-tls) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 43c89a6ed9..6facc27174 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -37,6 +37,7 @@ (define-module (gnu packages language) #:use-module (gnu packages compression) #:use-module (gnu packages cmake) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-tls) #:use-module (gnu packages dbm) #:use-module (gnu packages docbook) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 532ae43dac..23e3e9dbec 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -72,6 +72,7 @@ (define-module (gnu packages rust-apps) #:use-module (gnu packages crates-audio) #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 8afaf63ecb..b65c8ae4ad 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -30,6 +30,7 @@ (define-module (gnu packages sequoia) #:use-module (gnu packages base) ; glibc #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-web) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 49d1d49f24..14f0239b35 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -55,6 +55,7 @@ (define-module (gnu packages shells) #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-tls)