diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 56854ff96c..f908136481 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -426,7 +426,7 @@ (define (make-pypi-sexp name version source-url wheel-url home-page synopsis "Return the `package' s-expression for a python package with the given NAME, VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and LICENSE." (define (maybe-upstream-name name) - (if (string-match ".*\\-[0-9]+" (pk name)) + (if (string-match ".*\\-[0-9]+" name) `((properties ,`'(("upstream-name" . ,name)))) '()))