guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 83882c88b6dc336a5462786b55df2a9875281890
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Mar 1 15:16:57 2026 +0200

    import: pypi: Don't rename maturin in package inputs.
    
    * guix/import/pypi.scm (python->package-name): Add a special case for
    the python maturin package so it maps to the Guix maturin package.
    
    Change-Id: Ie8c294035541247703eb3f71d4233f365338385d
---
 guix/import/pypi.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 5cd4cd813d..cb3b90368c 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -207,7 +207,8 @@ package."
      ((string-prefix? "python-" name) name)
      ((string-suffix? "-python" name)
       (string-append "python-" (string-drop-right name 7)))
-     ((or (string=? "trytond" name)
+     ((or (string=? "maturin" name)
+          (string=? "trytond" name)
           (string-prefix? "trytond-" name)) name)
      (else (string-append "python-" name)))))
 

Reply via email to