[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42338] [PATCH v3 7/7] guix: import: composer: Modern inputs formatt
From: |
Nicolas Graves |
Subject: |
[bug#42338] [PATCH v3 7/7] guix: import: composer: Modern inputs formatting. |
Date: |
Tue, 26 Sep 2023 12:31:44 +0200 |
* guix/import/composer.scm (make-php-sexp): Update inputs formatting.
---
guix/import/composer.scm | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/guix/import/composer.scm b/guix/import/composer.scm
index 2ce7206ef9..b4710c6fb9 100644
--- a/guix/import/composer.scm
+++ b/guix/import/composer.scm
@@ -176,21 +176,11 @@ (define (make-php-sexp composer-package)
,@(if (null? dependencies)
'()
`((inputs
- (,'quasiquote
- ,(map (lambda (name)
- `(,name
- (,'unquote
- ,(string->symbol name))))
- dependencies)))))
+ (list ,(map string->symbol dependencies)))))
,@(if (null? dev-dependencies)
'()
`((native-inputs
- (,'quasiquote
- ,(map (lambda (name)
- `(,name
- (,'unquote
- ,(string->symbol name))))
- dev-dependencies)))))
+ (list ,(map string->symbol dev-dependencies)))))
(synopsis "")
(description ,(composer-package-description composer-package))
(home-page ,(composer-package-homepage composer-package))
--
2.41.0
- [bug#42338] [PATCH v3 1/7] guix: import: Add composer importer., Nicolas Graves, 2023/09/26
- [bug#42338] [PATCH v3 2/7] gnu: Add composer-classloader., Nicolas Graves, 2023/09/26
- [bug#42338] [PATCH v3 3/7] guix: Add composer-build-system., Nicolas Graves, 2023/09/26
- [bug#42338] [PATCH v3 6/7] guix: import: composer: More robust string->license., Nicolas Graves, 2023/09/26
- [bug#42338] [PATCH v3 7/7] guix: import: composer: Modern inputs formatting.,
Nicolas Graves <=
- [bug#42338] [PATCH v3 5/7] guix: import: composer: Fix json->require., Nicolas Graves, 2023/09/26
- [bug#42338] [PATCH v3 4/7] guix: import: composer: Use memoization., Nicolas Graves, 2023/09/26
- [bug#42338] [PATCH v3 1/7] guix: import: Add composer importer., Nicolas Graves, 2023/09/26