aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/licentia/license/addendum.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-06-14 18:33:54 -0400
committerEduardo Julian2021-06-14 18:33:54 -0400
commit519c0c0c71cdf7ce3dfc64b9781ab826760b3d94 (patch)
tree75fa0672afceff129e5e75afb7a5fed197ce1773 /stdlib/source/program/licentia/license/addendum.lux
parentaf3e6e2cb011dc2ad9204440990731a2f272716d (diff)
Extracted Licentia out of the standard library.
Diffstat (limited to 'stdlib/source/program/licentia/license/addendum.lux')
-rw-r--r--stdlib/source/program/licentia/license/addendum.lux28
1 files changed, 0 insertions, 28 deletions
diff --git a/stdlib/source/program/licentia/license/addendum.lux b/stdlib/source/program/licentia/license/addendum.lux
deleted file mode 100644
index 7e467c630..000000000
--- a/stdlib/source/program/licentia/license/addendum.lux
+++ /dev/null
@@ -1,28 +0,0 @@
-(.module:
- [lux #*
- [data
- [text
- ["%" format (#+ format)]]]]
- ["." // (#+ Addendum)
- [//
- ["$" document]]])
-
-## https://commonsclause.com/
-(def: #export commons-clause
- Text
- (format ($.block "The Software is provided to you by the Licensor under the License, as defined below, subject to the following condition.")
- ($.block "Without limiting other conditions in the License, the grant of rights under the License will not include, and the License does not grant to you, the right to Sell the Software.")
- ($.block "For purposes of the foregoing, “Sell” means practicing any or all of the rights granted to you under the License to provide to third parties, for a fee or other consideration (including without limitation fees for hosting or consulting/ support services related to the Software), a product or service whose value derives, entirely or substantially, from the functionality of the Software. Any license notice or attribution required by the License must also include this Commons Clause License Condition notice.")))
-
-(def: #export (output value)
- (-> Addendum Text)
- (`` (format (~~ (template [<title> <condition> <content>]
- [(if <condition>
- ($.block ($.section {#$.title <title>
- #$.content <content>}))
- "")]
-
- ["“Commons Clause” License Condition v1.0"
- (get@ #//.commons-clause? value)
- ..commons-clause]
- )))))