Can I add a package without a license to nixpkgs?

I found a useful tool called spice-autorandr on github and wrote a derivation for it, so that I could use that tool on my computer. The original author of the tool did not specify the license in their github repo.

Can I contribute a package and a service definition for this tool to nixpkgs, or should I refrain from doing this due to the missing license?

You can but you must mark it with license = licenses.unfree.

the .c file has mit so use mit

1 Like