guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] guix import pypi: add the Apache License 2.0


From: Cyril Roelandt
Subject: [PATCH 1/3] guix import pypi: add the Apache License 2.0
Date: Thu, 16 Oct 2014 00:49:12 +0200

* guix/import/pypi.scm (string->license): add ASL2.0.
---
 guix/import/pypi.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index d0e776e..8f5e031 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)
-- 
1.8.4.rc3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]