I'm making a program in go and I'd like to upload it to Github under the GPL license, but I'm using someone else's package which is licensed under MIT. I can do this?
I'm making a program in go and I'd like to upload it to Github under the GPL license, but I'm using someone else's package which is licensed under MIT. I can do this?
Actually, what is called the MIT License can be ambiguous, since MIT has used several different licenses for software.
You should consult the section Free software licenses compatible with the GPL of
gnu.org
. All GPL-compatible licenses are listed there.Two of the MIT variants appear in the long list of compatible licenses:
If the software you are talking about is under either of these two licenses, or any other listed in the link above, you will have no problem using it under a GPL license.
compatibility map
In the compatibility map published on Wikipedia, we can see that the MIT license , (on the map it would be X11), belongs to the group of permissive licenses. That means that using code under this license in our program is practically unrestricted.
The flow line shows that it is compatible with all GPL versions .
A.hawrylyshen at English Wikipedia - CC BY-SA 3.0 or GFDL , via Wikimedia Commons