A micro library that provides a Clojure implementation of the Apache Software Foundation's 3rd Party License Policy (https://www.apache.org/legal/resolved.html).
A micro library that provides a Clojure implementation of the Apache Software Foundation's 3rd Party License Policy (https://www.apache.org/legal/resolved.html).
The set of categories, ordered by category-comparator.
The set of categories, ordered by category-comparator.
(category license-id)
Given a license-id (which should be a SPDX license id or one of a very small number of supported non-SPDX license ids), returns one of:
nil - when license-id is nil, empty or blank :category-a - see https://www.apache.org/legal/resolved.html#category-a :category-a-special - see https://www.apache.org/legal/resolved.html and scroll to the appropriate section :category-b - see https://www.apache.org/legal/resolved.html#category-b :creative-commons - see https://www.apache.org/legal/resolved.html#cc-by (may be any category - further manual investigation required) :category-x - see https://www.apache.org/legal/resolved.html#category-x :uncategorised - the ASF category could not be determined for this license
Given a license-id (which should be a SPDX license id or one of a very small number of supported non-SPDX license ids), returns one of: nil - when license-id is nil, empty or blank :category-a - see https://www.apache.org/legal/resolved.html#category-a :category-a-special - see https://www.apache.org/legal/resolved.html and scroll to the appropriate section :category-b - see https://www.apache.org/legal/resolved.html#category-b :creative-commons - see https://www.apache.org/legal/resolved.html#cc-by (may be any category - further manual investigation required) :category-x - see https://www.apache.org/legal/resolved.html#category-x :uncategorised - the ASF category could not be determined for this license
(category-comparator l r)
A comparator for ASF category keywords.
A comparator for ASF category keywords.
(category-info category)
Returns information on a category as a map with the keys :name and :url (both strings).
Returns information on a category as a map with the keys :name and :url (both strings).
(least-category license-ids)
Returns the least category for the given sequence of license-ids.
Returns the least category for the given sequence of license-ids.
(license-comparator l r)
A comparator for licenses, based on their ASF categories.
A comparator for licenses, based on their ASF categories.
The URI (as a string) of the Apache Software Foundation's 3rd Party License Policy
The URI (as a string) of the Apache Software Foundation's 3rd Party License Policy
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close