From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: pypi->guix script Date: Mon, 08 Sep 2014 16:42:22 +0200 Message-ID: <87bnqqgomp.fsf@gnu.org> References: <87zjeczf1f.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <8738c2lhgd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR09I-0003un-8g for guix-devel@gnu.org; Mon, 08 Sep 2014 10:42:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XR09B-0000RC-Dn for guix-devel@gnu.org; Mon, 08 Sep 2014 10:42:32 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:35207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR09B-0000R3-62 for guix-devel@gnu.org; Mon, 08 Sep 2014 10:42:25 -0400 In-Reply-To: (David Thompson's message of "Mon, 8 Sep 2014 09:42:31 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel "Thompson, David" skribis: > On Mon, Sep 8, 2014 at 3:06 AM, Ludovic Court=C3=A8s wrote: [...] >> It would indeed be nice to turn it into a =E2=80=98guix pipy=E2=80=99 co= mmand or >> something like that. If need be, I can help with the details of >> integrating it. >> > > Yes, that would be nice. What are your thoughts on this? The way forward would be to drop the file as guix/scripts/pipy.scm, and then adjust it to follow the calling convention that =E2=80=98run-guix-comm= and=E2=80=99 expects. Similarly, it should use (guix build download). Since it uses Guile-JSON, maybe ./configure would have to check for its availability and disable compilation/installation when Guile-JSON is not found (in a way similar to BUILD_DAEMON_OFFLOAD, in config-daemon.ac.) Then a test file and an entry in the manual would be perfect. Ludo=E2=80=99.