portal/deps/plug_crypto/mix.exs
Mikael Hugo 35f29f42e3 feat: add flake.nix, .envrc, fix config (runtime.exs), deps compile clean
- flake.nix: Elixir 1.18.4 / OTP 27 / Node 22 dev shell
- .envrc: use flake
- config/config.exs: move fetch_env! to runtime.exs (compile-time safe)
- config/runtime.exs: all secrets loaded at runtime via env vars
- mix.lock: generated after mix deps.get
- All 3 apps compile cleanly

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-09 19:55:48 +02:00

52 lines
1.1 KiB
Elixir

defmodule Plug.Crypto.MixProject do
use Mix.Project
@version "2.1.1"
@description "Crypto-related functionality for the web"
@source_url "https://github.com/elixir-plug/plug_crypto"
def project do
[
app: :plug_crypto,
version: @version,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
name: "Plug.Crypto",
description: @description,
docs: [
main: "Plug.Crypto",
source_ref: "v#{@version}",
source_url: @source_url,
extras: ["CHANGELOG.md"]
]
]
end
def application do
[
extra_applications: [:crypto],
mod: {Plug.Crypto.Application, []}
]
end
defp deps do
[{:ex_doc, "~> 0.21", only: :dev}]
end
defp package do
%{
licenses: ["Apache-2.0"],
maintainers: [
"Aleksei Magusev",
"Andrea Leopardi",
"Eric Meadows-Jönsson",
"Gary Rennie",
"José Valim"
],
links: %{"GitHub" => @source_url},
files: ["lib", "mix.exs", "README.md", "CHANGELOG.md", "LICENSE"]
}
end
end