diff options
| author | Christine Dodrill <me@christine.website> | 2019-09-24 13:46:54 +0000 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2019-09-24 13:46:54 +0000 |
| commit | d1dd9e0b70980bd189a1f6bc25a3b3db0bb7673b (patch) | |
| tree | 9f37f675ee26338679c932f08d71f3c82a71a089 /cmd | |
| parent | 5965da82d217d5247d17064c0dc4e5ef4a0dbe16 (diff) | |
| download | x-d1dd9e0b70980bd189a1f6bc25a3b3db0bb7673b.tar.xz x-d1dd9e0b70980bd189a1f6bc25a3b3db0bb7673b.zip | |
cmd/license: add hippocratic license
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/license/licenses/licenses.go | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cmd/license/licenses/licenses.go b/cmd/license/licenses/licenses.go index 0fca177..712b4e8 100644 --- a/cmd/license/licenses/licenses.go +++ b/cmd/license/licenses/licenses.go @@ -36,9 +36,38 @@ func init() { "yolo": YoloLicense, "icu996": ICU996License, "0bsd": ZeroBSD, + "hippocratic": Hippocratic, } } +const Hippocratic = `Copyright (c) {{.Year}} {{.Name}} <{{.Email}}> + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the “Software”), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +* The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + +* The software may not be used by individuals, corporations, governments, + or other groups for systems or activities that actively and knowingly + endanger, harm, or otherwise threaten the physical, mental, economic, + or general well-being of underprivileged individuals or groups. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +This license is derived from the MIT License, as amended to limit the +impact of the unethical use of open source software.` + const ZeroBSD = `Copyright (c) {{.Year}} {{.Name}} <{{.Email}}> Permission to use, copy, modify, and/or distribute this software for any |
