Packages

Use Elixir as a scripting language with Hex packages, anywhere on your system. No Mix project required!

Retired package: Renamed - renamed to Teex: https://hex.pm/packages/teex

Current section

Files

Jump to
tex lib types library.ex
Raw

lib/types/library.ex

defmodule Tex.Types.Library do
@moduledoc false
use TypedStruct
use Tex.Util.StructBuilder
typedstruct do
field :name, String.t(), enforce: true, default: ""
field :version, String.t(), enforce: true, default: ""
field :checksum, String.t(), enforce: true, default: ""
field :tarball, binary(), enforce: true, default: nil
field :deps, list({String.t(), String.t()}), enforce: true, default: nil
end
builder()
end