summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-02-05 23:01:14 +0100
committerAndreas Enge <andreas@enge.fr>2013-02-05 23:56:42 +0100
commit6d36a6f3b08e97468df59e4ec84ba75cffa39a44 (patch)
treef3529c75d9ebfd09ff224d956058f6d15aa482aa
parenta6ef51e378a0cc93043211954352be81d850a89f (diff)
downloadguix-6d36a6f3b08e97468df59e4ec84ba75cffa39a44.tar.gz
licenses: Add new meta-license fsf-free.
* guix/licenses.scm (fsf-free): New record with constructor.
-rw-r--r--guix/licenses.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/guix/licenses.scm b/guix/licenses.scm
index c636cc5edf..1b149b5282 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -39,7 +39,8 @@
             qpl
             vim
             x11
-            zlib))
+            zlib
+            fsf-free))
 
 (define-record-type <license>
   (license name uri comment)
@@ -234,4 +235,11 @@ which may be a file:// URI pointing the package's tree."
            "http://www.gzip.org/zlib/zlib_license.html"
            "https://www.gnu.org/licenses/license-list#ZLib"))
 
+(define* (fsf-free uri #:optional (comment ""))
+  "Return a license that does not fit any of the ones above or a collection
+of licenses, approved as free by the FSF.  More details can be found at URI."
+  (license "FSF-free"
+           uri
+           comment))
+
 ;;; licenses.scm ends here