PMunch / futhark

Automatic wrapping of C headers in Nim
MIT License
355 stars 19 forks source link

What is `Futhark`'s license? #72

Closed matkuki closed 1 year ago

matkuki commented 1 year ago

What is Futhark's license and the license of it's generated code? There is no license file in the repository.

PMunch commented 1 year ago

As it says in the futhark.nimble file the license for Futhark is MIT. The license of the wrappers are likely up to the library they are generated from. But as they are simply header file wrappers I'd assume that you'd be allowed to use them.

eclairevoyant commented 1 year ago

Not to belabor the point too much, but generally MIT-licensed works (as well as BSD, ISC, zlib... ) should have an explicit license file including the copyright statement.

Per the license itself:

Copyright <YEAR> <COPYRIGHT HOLDER>

and

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

But we can't really follow that if there's no notice to use. Can an explicit file be created? (I am asking this as a packager.)

PMunch commented 1 year ago

Fair enough, I've added the MIT license file as well