From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: pypi->guix script Date: Mon, 8 Sep 2014 13:19:11 -0400 Message-ID: References: <87zjeczf1f.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <8738c2lhgd.fsf@gnu.org> <87bnqqgomp.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]:47341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR2b4-0005Dz-UB for guix-devel@gnu.org; Mon, 08 Sep 2014 13:19:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XR2aw-0007cX-Qq for guix-devel@gnu.org; Mon, 08 Sep 2014 13:19:22 -0400 Received: from na6sys009bog005.obsmtp.com ([74.125.150.50]:36835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR2aw-0007c6-Mi for guix-devel@gnu.org; Mon, 08 Sep 2014 13:19:14 -0400 Received: by mail-pd0-f174.google.com with SMTP id v10so7150793pde.33 for ; Mon, 08 Sep 2014 10:19:12 -0700 (PDT) In-Reply-To: <87bnqqgomp.fsf@gnu.org> 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: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel On Mon, Sep 8, 2014 at 10:42 AM, Ludovic Court=C3=A8s wrote: > "Thompson, David" skribis: > >> On Mon, Sep 8, 2014 at 3:06 AM, Ludovic Court=C3=A8s wrot= e: > > [...] > >>> It would indeed be nice to turn it into a =E2=80=98guix pipy=E2=80=99 c= ommand 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-co= mmand=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. > Thanks for the explanation. I will add this to my list of projects. :) - Dave