me
/
guix
Archived
1
0
Fork 0

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

* guix/import/pypi.scm (make-pypi-sexp)<unzip>: Use new style.
master
Maxim Cournoyer 2022-04-01 16:49:40 -04:00
parent 32b713e016
commit bfe66d4a2a
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 3 deletions

View File

@ -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))