-
Notifications
You must be signed in to change notification settings - Fork 16
/
mix.exs
65 lines (57 loc) · 1.46 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
defmodule KinoDB.MixProject do
use Mix.Project
@version "0.2.13"
@description "Databases integration with Livebook"
def project do
[
app: :kino_db,
version: @version,
description: @description,
name: "KinoDB",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[
mod: {KinoDB.Application, []}
]
end
defp deps do
[
{:kino, "~> 0.13"},
{:table, "~> 0.1"},
{:adbc, "~> 0.2", optional: true},
{:db_connection, "~> 2.4.2 or ~> 2.5", optional: true},
{:exqlite, "~> 0.11", optional: true},
{:myxql, "~> 0.7", optional: true},
{:postgrex, "~> 0.18 or ~> 1.0", optional: true},
{:tds, "~> 2.3.4 or ~> 2.4", optional: true},
{:explorer, "~> 0.8", optional: true},
# Those dependecies are new, so we use stricter versions
{:req_bigquery, "~> 0.1.0", optional: true},
{:req_athena, "~> 0.2.0", optional: true},
# Dev only
{:ex_doc, "~> 0.28", only: :dev, runtime: false}
]
end
defp docs do
[
main: "components",
source_url: "https://github.com/livebook-dev/kino_db",
source_ref: "v#{@version}",
extras: ["guides/components.livemd"]
]
end
def package do
[
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/livebook-dev/kino_db"
}
]
end
end