Packages

A function to check strings against the New Zealand Ministry of Health NHI Validation Routine. Supports both old and new format NHI values.

Current section

Files

Jump to
nhi mix.exs
Raw

mix.exs

defmodule Nhi.MixProject do
use Mix.Project
def project do
[
name: "Nhi",
app: :nhi,
version: "0.0.1",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
source_url: "https://codeberg.org/jamesansley/nhi"
]
end
defp package() do
[
name: "nhi",
licenses: ["Apache-2.0"],
links: %{"Codeberg" => "https://codeberg.org/jamesansley/nhi"}
]
end
defp description() do
"""
A function to check strings against the New Zealand Ministry of Health NHI Validation Routine.
Supports both old and new format NHI values.\
"""
end
def application do
[]
end
defp deps do
[
{:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true},
]
end
end