diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-09-16 11:15:38 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 08:43:40 +0200 |
| commit | 23c256f487ac766394005b3c4f7ecc72aaf7f750 (patch) | |
| tree | dd9d3c8a8c43fd6270a68c750df53499fa37839e /gnu/packages/elixir-databases.scm | |
| parent | 9b6da0507d8c4e1dc023b075868980a2773a63d4 (diff) | |
gnu: Add elixir-ecto-sql.
* gnu/packages/elixir-databases.scm (elixir-ecto-sql): New variable.
Change-Id: I267e537e508238898526cc0e0de354abb6e9eb03
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/elixir-databases.scm')
| -rw-r--r-- | gnu/packages/elixir-databases.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/elixir-databases.scm b/gnu/packages/elixir-databases.scm index f6fc8428fb1..012df3ffc5e 100644 --- a/gnu/packages/elixir-databases.scm +++ b/gnu/packages/elixir-databases.scm | |||
| @@ -54,6 +54,42 @@ describe/encode/decode.") | |||
| 54 | (home-page "https://hexdocs.pm/db_connection/") | 54 | (home-page "https://hexdocs.pm/db_connection/") |
| 55 | (license license:asl2.0))) | 55 | (license license:asl2.0))) |
| 56 | 56 | ||
| 57 | (define-public elixir-ecto-sql | ||
| 58 | (package | ||
| 59 | (name "elixir-ecto-sql") | ||
| 60 | (version "3.13.2") | ||
| 61 | (source | ||
| 62 | (origin | ||
| 63 | (method git-fetch) | ||
| 64 | (uri (git-reference | ||
| 65 | (url "https://github.com/elixir-ecto/ecto_sql.git") | ||
| 66 | (commit (string-append "v" version)))) | ||
| 67 | (file-name (git-file-name name version)) | ||
| 68 | (sha256 | ||
| 69 | (base32 "1i5jhjv8xqwl887kq7jp880ywpp16glllcfd7y7kpb6h6jc62hnd")))) | ||
| 70 | (build-system mix-build-system) | ||
| 71 | (propagated-inputs | ||
| 72 | (list elixir-db-connection | ||
| 73 | elixir-ecto | ||
| 74 | elixir-myxql | ||
| 75 | elixir-postgrex | ||
| 76 | elixir-tds)) | ||
| 77 | (synopsis "SQL-based adapters for Ecto and database migrations") | ||
| 78 | (description "@code{Ecto SQL} provides building blocks for writing SQL | ||
| 79 | adapters for Ecto. It features: | ||
| 80 | |||
| 81 | @itemize | ||
| 82 | @item The @code{Ecto.Adapters.SQL} module as an entry point for all SQL-based | ||
| 83 | adapters | ||
| 84 | @item Default implementations for Postgres (@code{Ecto.Adapters.Postgres}), | ||
| 85 | MySQL (@code{Ecto.Adapters.MyXQL}), and MSSQL (@code{Ecto.Adapters.Tds}) | ||
| 86 | @item A test sandbox (@code{Ecto.Adapters.SQL.Sandbox}) that concurrently runs | ||
| 87 | database tests inside transactions | ||
| 88 | @item Support for database migrations via Mix tasks | ||
| 89 | @end itemize") | ||
| 90 | (home-page "https://hexdocs.pm/ecto_sql/") | ||
| 91 | (license license:asl2.0))) | ||
| 92 | |||
| 57 | (define-public elixir-ecto | 93 | (define-public elixir-ecto |
| 58 | (package | 94 | (package |
| 59 | (name "elixir-ecto") | 95 | (name "elixir-ecto") |
