forked from dashbitco/nimble_totp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
52 lines (44 loc) · 943 Bytes
/
mix.exs
File metadata and controls
52 lines (44 loc) · 943 Bytes
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
defmodule NimbleTOTP.MixProject do
use Mix.Project
@version "1.0.0"
@repo_url "https://github.com/dashbitco/nimble_totp"
def project do
[
app: :nimble_totp,
version: @version,
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
package: package(),
description: "A tiny library for time-based one time passwords (TOTP)",
# Docs
name: "NimbleTOTP",
docs: docs()
]
end
def application do
[
extra_applications: [:crypto]
]
end
defp deps do
[
{:ex_doc, ">= 0.19.0", only: :docs},
{:fips_crypto, git: "git@github.com:PreVeil/fips-elixir", tag: "latest"}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => @repo_url}
]
end
defp docs do
[
main: "NimbleTOTP",
source_ref: "v#{@version}",
source_url: @repo_url
]
end
end