]> granicus.if.org Git - ejabberd/commitdiff
Add additional package information for hex.pm
authorSonny Scroggin <scrogson@gmail.com>
Tue, 29 Sep 2015 18:18:49 +0000 (13:18 -0500)
committerSonny Scroggin <scrogson@gmail.com>
Tue, 29 Sep 2015 18:18:49 +0000 (13:18 -0500)
mix.exs

diff --git a/mix.exs b/mix.exs
index 1285148969c83d80e738251773e52c1fb6d5df7a..b71c7e255656a815585a613af99978da766ae313 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -10,6 +10,7 @@ defmodule Ejabberd.Mixfile do
      compilers: [:asn1] ++ Mix.compilers,
      erlc_options: erlc_options,
      erlc_paths: ["asn1", "src"],
+     package: package,
      deps: deps]
   end
 
@@ -45,6 +46,12 @@ defmodule Ejabberd.Mixfile do
         {:eredis, git: "https://github.com/wooga/eredis"},
         {:exrm, "~> 0.19.2"}
      ]
+
+  defp package do
+    [licenses: ["GPLv2"],
+     links: %{"Site" => "https://www.ejabberd.im",
+              "Documentation" => "http://docs.ejabberd.im",
+              "Source" => "https://github.com/processone/ejabberd"}]
   end
 end