From 53e3619d92079a7b2a2ccd803d1c9c10a13bf608 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 17 Aug 2024 13:16:57 +0200 Subject: [PATCH] import: pypi: make-pypi-sexp: Detect 'null description. * guix/import/pypi.scm (make-pypi-sexp): Detect 'null description. Change-Id: I8b2704852ecbd8de1bf7bf5598727e7a3a43932c --- guix/import/pypi.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 6719fde330..7b9f54a200 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -544,8 +544,9 @@ name))) 'native-inputs) (home-page ,(project-info-home-page info)) (synopsis ,(project-info-summary info)) - (description ,(beautify-description - (project-info-summary info))) + (description ,(and=> (non-empty-string-or-false + (project-info-summary info)) + beautify-description)) (license ,(license->symbol (string->license (project-info-license info)))))