Subject: bug#40894: closed (Should be solved by new importer)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 17 Dec 2020 15:27:03 +0000

Your bug report

#40894: import crate: Use proper variable names

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40894: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40894
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Should be solved by new importer
From: Hartmut Goebel <[email-masked]>
To: [email-masked], [email-masked], [email-masked]
Date: Thu, 17 Dec 2020 16:26:39 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This issue is solved by the new importer.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | [email-masked]               |
| www.crazy-compilers.com | compilers which you thought are impossible |

Subject: import crate: Use proper variable names
From: Hartmut Goebel <[email-masked]>
To: bug-guix <[email-masked]>
Date: Mon, 27 Apr 2020 09:21:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

"import crate -r" shall create and use "proper" variable names for the
package definitions it prints out and for the packages it reference.

If guix commits to use variable names follow the Cargo book (see
<https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00394.html>),
the importer shall create respective variables and use these names. This
would easy importing packages a lot.

Dummy example:

$guix import crate -r [email-masked]
…
(define-public rust-h2
…
    (arguments
      `(#:cargo-inputs
        (("rust-bytes" ,rust-bytes)
         ("rust-fnv" ,rust-fnv)

Shall become

$guix import crate -r [email-masked]
…
(define-public rust-h2-0.2
…
        (("rust-bytes" ,rust-bytes-0.4)
         ("rust-fnv" ,rust-fnv-1)

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | [email-masked]               |
| www.crazy-compilers.com | compilers which you thought are impossible |