mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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
1 changed files with 1 additions and 3 deletions
|
@ -457,9 +457,7 @@ (define (maybe-upstream-name name)
|
||||||
(match guix-dependencies
|
(match guix-dependencies
|
||||||
((required-inputs native-inputs)
|
((required-inputs native-inputs)
|
||||||
(when (string-suffix? ".zip" source-url)
|
(when (string-suffix? ".zip" source-url)
|
||||||
(set! native-inputs (cons
|
(set! native-inputs (cons 'unzip native-inputs)))
|
||||||
'("unzip" ,unzip)
|
|
||||||
native-inputs)))
|
|
||||||
(values
|
(values
|
||||||
`(package
|
`(package
|
||||||
(name ,(python->package-name name))
|
(name ,(python->package-name name))
|
||||||
|
|
Loading…
Reference in a new issue