A license is simply a contract establishing the rules under which you can use, modify, distribute, etc so logically, it seems like you could put whatever terms you wanted. The Beerware license comes to mind in this regard - https://en.wikipedia.org/wiki/Beerware
Of course, since the non-white-hetero-etc license adds extra requirements beyond those in the GPL, it will not be accepted by the FSF as GPL-compatible. The Beerware license isn't either.
But what it really comes down to is enforcement. To fight misuse legally, you'd need a) a lawyer that'd take the case and b) a judge not to laugh you out of the room. But the Twitter mobs may be the preferred form of enforcement here anyway.
In a professional atmosphere, more and more companies have pre-approved licenses that are okay by default. By going with something non-standard, it means you'll need to get special permission which usually means legal review. I'd wager that most lawyers would discourage you from using this one.. just because it is ambiguous in enforcement, etc.
Further, if you tried to enforce this one within your company, someone would have to ask each of your employees their ethnicity and sexual orientation.. which opens up some HR issues. Imagine your boss saying "don't worry about this, you're gay so you can use it."
Just to be clear, you can put whatever you want into a contract. Whether it's enforceable, or would be immediately discarded as "not a valid contract clause," is the question.
The severability clauses are all about that--if some part of a contract is deemed unenforceable, the rest still holds, etc.
Comments
A license is simply a contract establishing the rules under which you can use, modify, distribute, etc so logically, it seems like you could put whatever terms you wanted. The Beerware license comes to mind in this regard - https://en.wikipedia.org/wiki/Beerware
Of course, since the non-white-hetero-etc license adds extra requirements beyond those in the GPL, it will not be accepted by the FSF as GPL-compatible. The Beerware license isn't either.
But what it really comes down to is enforcement. To fight misuse legally, you'd need a) a lawyer that'd take the case and b) a judge not to laugh you out of the room. But the Twitter mobs may be the preferred form of enforcement here anyway.
In a professional atmosphere, more and more companies have pre-approved licenses that are okay by default. By going with something non-standard, it means you'll need to get special permission which usually means legal review. I'd wager that most lawyers would discourage you from using this one.. just because it is ambiguous in enforcement, etc.
Further, if you tried to enforce this one within your company, someone would have to ask each of your employees their ethnicity and sexual orientation.. which opens up some HR issues. Imagine your boss saying "don't worry about this, you're gay so you can use it."
There are lots of things you can't put as terms in a contract. This is why we have contact law.
Just to be clear, you can put whatever you want into a contract. Whether it's enforceable, or would be immediately discarded as "not a valid contract clause," is the question.
The severability clauses are all about that--if some part of a contract is deemed unenforceable, the rest still holds, etc.
While you may capable of putting arbitrary restrictions into your license, both state and federal laws will trump your agreement.
If nothing else, I suspect that Title II of the 1964 Civil Rights act would interfere with a license attempting to discriminate using race.
Yes, that's why I addressed "can you put it in" and "is it enforceable" as two separate aspects.