Add package info and update license

This commit is contained in:
Mikko Ahlroth 2021-09-03 22:07:46 +03:00
parent 8e5adc3e35
commit 9dd33e2e5e
2 changed files with 33 additions and 3 deletions

18
LICENSE
View file

@ -9,3 +9,21 @@ Redistribution and use in source and binary forms, with or without modification,
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---
The included JSON test files are from <https://github.com/ozh/github-colors/> and used with the license:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

18
mix.exs
View file

@ -8,15 +8,27 @@ defmodule LanguageColours.MixProject do
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Docs
name: "LanguageColours",
source_url: "https://gitlab.com/Nicd/language_colours",
homepage_url: "https://gitlab.com/Nicd/language_colours",
docs: [
# The main page in the docs
main: "LanguageColours"
]
],
description:
"LanguageColours offers an API for retrieving colours for programming languages based on GitHub colour data (or some other dataset).",
package: package()
]
end
defp package do
[
name: :language_colours,
maintainers: ["Mikko Ahlroth <mikko@ahlroth.fi>"],
licenses: ["BSD 3-clause"],
links: %{
"GitLab" => "https://gitlab.com/Nicd/language_colours"
}
]
end