Packages
An Elixir driver for the ST25R100 NFC reader chip, supporting NFC-A tag UID reads and full memory reads of Type 2 Tags over SPI.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ST25R100.MixProject do
use Mix.Project
@source_url "https://github.com/protolux-electronics/st25r100"
@version "0.1.0"
def project do
[
app: :st25r100,
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
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:circuits_gpio, "~> 2.0"},
{:circuits_spi, "~> 2.0"},
{:ex_doc, "~> 0.40", only: :dev, runtime: false}
]
end
defp description do
"An Elixir driver for the ST25R100 NFC reader chip, supporting NFC-A tag UID reads and full memory reads of Type 2 Tags over SPI."
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
extras: ["README.md", "LICENSE"]
]
end
end