forked from pappersverk/scenic_driver_inky
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
48 lines (42 loc) · 1.12 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
defmodule ScenicDriverInky.MixProject do
use Mix.Project
@pi_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a]
def project do
[
app: :scenic_driver_fb_tft,
version: "0.1.0",
elixir: "~> 1.8",
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:scenic, "~> 0.9"},
{:scenic_driver_nerves_rpi, "~> 0.9", targets: @pi_targets},
{:rpi_fb_capture, "~> 0.1", targets: @pi_targets},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"Framebuffer TFT driver for Scenic"
end
defp package do
%{
name: "scenic_driver_fb_tft",
description:
"A library to provide a Scenic framework driver implementation for generic TFT devices over SPI.",
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/makerion/scenic_driver_fb_tft"}
}
end
end