[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] import: Add CPAN importer.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 4/4] import: Add CPAN importer. |
Date: |
Fri, 09 Jan 2015 14:41:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Eric Bavier <address@hidden> skribis:
> * guix/import/cpan.scm, guix/scripts/import/cpan.scm, tests/cpan.scm:
> New files.
> * Makefile.am (MODULE)[guile-json]: Add them.
> * guix/scripts/import.scm (importers): Add cpan.
> * doc/guix.texi (Requirements): Mention `guix import cpan` as a user
> of guile-json.
> (Invoking guix import): Document new `guix import cpan` command.
[...]
> address@hidden cpan
> address@hidden cpan
@cindex CPAN
> +(define-module (guix import cpan)
> + #:use-module (ice-9 match)
> + #:use-module (ice-9 regex)
> + #:use-module (srfi srfi-1)
> + #:use-module (json)
> + #:use-module (guix store)
> + #:use-module (guix base32)
> + #:use-module ((guix download) #:select (download-to-store))
> + #:use-module (guix import utils)
> + #:use-module (guix import json)
> + #:export (cpan->guix-package))
Could you add a short description in a “Commentary:” block?
Very nice, thank you!
Ludo’.