summary refs log tree commit diff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2014-10-15 20:18:00 +0200
committerCyril Roelandt <tipecaml@gmail.com>2014-10-22 02:47:29 +0200
commitcf690129b4e4ea130d9b890b51fa096fae3ce250 (patch)
tree52d9b8f6842c0dfc10c0480369cff13ba1c4a0d5
parent388fd01b0230259a12b23c52f6d6a6baa7b35c92 (diff)
downloadguix-cf690129b4e4ea130d9b890b51fa096fae3ce250.tar.gz
guix import pypi: add the Apache License 2.0
* guix/import/pypi.scm (string->license): add ASL2.0.
-rw-r--r--guix/import/pypi.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index d0e776ef94..8f5e031f47 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -85,6 +85,7 @@ recursively apply the procedure to the sub-list."
    ((or "BSD" "BSD License") bsd-3)
    ((or "MIT" "MIT license" "Expat license") expat)
    ("Public domain" public-domain)
+   ("Apache License, Version 2.0" asl2.0)
    (_ #f)))
 
 (define (url-fetch url file-name)
@@ -151,7 +152,8 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and LICENSE."
                             (,gpl3 . gpl3)
                             (,bsd-3 . bsd-3)
                             (,expat . expat)
-                            (,public-domain . public-domain))
+                            (,public-domain . public-domain)
+                            (,asl2.0 . asl2.0))
                           license))))
 
 (define (pypi->guix-package package-name)