Packages

Elixir driver for the TI TLV320DAC3100 Stereo DAC with Headphone and Speaker Amplifiers on Nerves devices.

Current section

Files

Jump to
Raw

mix.exs

defmodule TLV320DAC3100.MixProject do
use Mix.Project
@source_url "https://github.com/protolux-electronics/tlv320dac3100"
@version "0.1.0"
def project do
[
app: :tlv320dac3100,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp description do
"Elixir driver for the TI TLV320DAC3100 Stereo DAC with Headphone and Speaker Amplifiers on Nerves devices."
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @source_url
}
]
end
defp docs do
[
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["README.md", "LICENSE"]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:circuits_i2c, "~> 2.0"},
{:circuits_gpio, "~> 2.0"},
{:ex_doc, "~> 0.40.3", only: :dev, runtime: false}
]
end
end