guix-commits
[Top][All Lists]
Advanced

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

01/07: import: pypi: Use new style for the conditional unzip input.


From: guix-commits
Subject: 01/07: import: pypi: Use new style for the conditional unzip input.
Date: Mon, 4 Apr 2022 00:22:09 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit bfe66d4a2a1c8c3ea94f7cfbf59f26eaac0fe1b6
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 1 16:49:40 2022 -0400

    import: pypi: Use new style for the conditional unzip input.
    
    * guix/import/pypi.scm (make-pypi-sexp)<unzip>: Use new style.
---
 guix/import/pypi.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 77b5f12f72..392fc9700b 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -457,9 +457,7 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and 
LICENSE."
             (match guix-dependencies
               ((required-inputs native-inputs)
                (when (string-suffix? ".zip" source-url)
-                 (set! native-inputs (cons
-                                     '("unzip" ,unzip)
-                                     native-inputs)))
+                 (set! native-inputs (cons 'unzip native-inputs)))
                (values
                 `(package
                    (name ,(python->package-name name))



reply via email to

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