import: pypi: Use new style for the conditional unzip input.
* guix/import/pypi.scm (make-pypi-sexp)<unzip>: Use new style.
This commit is contained in:
parent
32b713e016
commit
bfe66d4a2a
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user