Subject: [PATCH 1/4] guix: Indent cargo-development-inputs.

From: Herman Rimm <[email-masked]>
Date: Thu, 2 May 2024 14:58:57 +0200

* guix/import/crate.scm (make-crate-sexp): Swap cargo-development-inputs
and cargo-inputs.
* guix/read-print.scm (%newline-forms): Add #:cargo-development-inputs.

Change-Id: I54a8c1934381cdb25b6d05e503d2bd2315d010b6
---
 guix/import/crate.scm | 4 ++--
 guix/read-print.scm   | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix/import/crate.scm b/guix/import/crate.scm
index 7a25b2243c..81e442141b 100644
--- a/guix/import/crate.scm
+++ b/guix/import/crate.scm
@@ -207,9 +207,9 @@ (define (format-inputs inputs)
                    ,@(maybe-arguments (append (if build?
                                                  '()
                                                  '(#:skip-build? #t))
-                                              (maybe-cargo-inputs cargo-inputs)
                                               (maybe-cargo-development-inputs
-                                                cargo-development-inputs)))
+                                                cargo-development-inputs)
+                                              (maybe-cargo-inputs cargo-inputs)))
                    (home-page ,home-page)
                    (synopsis ,synopsis)
                    (description ,(beautify-description description))
diff --git a/guix/read-print.scm b/guix/read-print.scm
index 6421b79737..80662f7189 100644
--- a/guix/read-print.scm
+++ b/guix/read-print.scm
@@ -365,6 +365,7 @@ (define %newline-forms
    ('git-reference '(uri origin source))
    ('sha256 '(origin source package))
    ('arguments '(package))
+   ('#:cargo-development-inputs '(arguments))
    ('list '(arguments package))
    ('search-paths '(package))
    ('native-search-paths '(package))
-- 
2.41.0