GNU logs - #31250, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#31250] [PATCH] Add leiningen
Resent-From: Charlie Ritter <chewzerita@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 24 Apr 2018 15:46:02 +0000
Resent-Message-ID: <handler.31250.B.152458473112817 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 31250
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 31250 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.152458473112817
          (code B ref -1); Tue, 24 Apr 2018 15:46:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Apr 2018 15:45:31 +0000
Received: from localhost ([127.0.0.1]:38362 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fB08F-0003KZ-5p
	for submit <at> debbugs.gnu.org; Tue, 24 Apr 2018 11:45:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35170)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <chewzerita@HIDDEN>) id 1fB08D-0003KM-Hm
 for submit <at> debbugs.gnu.org; Tue, 24 Apr 2018 11:45:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <chewzerita@HIDDEN>) id 1fB087-0001oJ-0Z
 for submit <at> debbugs.gnu.org; Tue, 24 Apr 2018 11:45:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60626)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <chewzerita@HIDDEN>)
 id 1fB086-0001oF-T4
 for submit <at> debbugs.gnu.org; Tue, 24 Apr 2018 11:45:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54348)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <chewzerita@HIDDEN>) id 1fB085-00074y-C9
 for guix-patches@HIDDEN; Tue, 24 Apr 2018 11:45:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <chewzerita@HIDDEN>) id 1fB07z-0001iP-Eb
 for guix-patches@HIDDEN; Tue, 24 Apr 2018 11:45:17 -0400
Received: from mout01.posteo.de ([185.67.36.65]:59003)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <chewzerita@HIDDEN>)
 id 1fB07y-0001bT-T8
 for guix-patches@HIDDEN; Tue, 24 Apr 2018 11:45:11 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 3EA5520F88
 for <guix-patches@HIDDEN>; Tue, 24 Apr 2018 17:45:02 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1524584702; bh=bUovCVhEaM8pZKQe9MCnlQ/W7ljnmdi4i5XuztOKSg8=;
 h=From:To:Subject:Date:From;
 b=pztoDPZKdNTELyFijB4NlPp1507EIQyQN2gdNtY7P5DB6srfhDxsPCV9TEKeLdeGG
 dZ4QzMrlUCuHEht7NQkIHPZ3yVhvlgmneieTXWdlWtU0QO8m8UFvZQROgedsZF6vOo
 8DAwxYVCe6adpaOEB2jMl7I1pzjddLAGAh6VSDEVp+0DPxvNJZTd16/dKZYBNcTNTc
 LZHJQwrJpkVLetmlVeHtbTvstbEhWTyrWM0leGjLijvqcZKHc0PcuES4dAEKTrQqxn
 sygnQ5YNleEEFAk3dehqsYfWlvCSstjKHorfgLx5nVh5Fi6D4EpVUfl9K8hWXVMzQe
 QNcy2KSEAzNcw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 40VnhV5LD6z9rxc
 for <guix-patches@HIDDEN>; Tue, 24 Apr 2018 17:44:58 +0200 (CEST)
From: Charlie Ritter <chewzerita@HIDDEN>
Date: Tue, 24 Apr 2018 11:44:56 -0400
Message-ID: <cuck1swsj5z.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/x-patch; charset=utf-8
Content-Disposition: inline; filename=0001-gnu-Add-leiningen.patch
Content-Transfer-Encoding: quoted-printable

From=20eac978c99ef288926530dcdee64cc9e3b7b8fe32 Mon Sep 17 00:00:00 2001
From: Charlie Ritter <chewzerita@HIDDEN>
Date: Tue, 24 Apr 2018 11:42:39 -0400
Subject: [PATCH] gnu: Add leiningen.

* gnu/packages/java.scm (leiningen): New variable.
=2D--
 gnu/packages/java.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 500f27dcf..ffbd40890 100644
=2D-- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9,6 +9,7 @@
 ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright =C2=A9 2018 G=C3=A1bor Boskovits <boskovits@HIDDEN>
 ;;; Copyright =C2=A9 2018 Chris Marusich <cmmarusich@HIDDEN>
+;;; Copyright =C2=A9 2018 Charlie Ritter <chewzerita@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1861,6 +1862,38 @@ designs.")
                      license:asl2.0
                      license:cpl1.0)))))
=20
+(define-public leiningen
+  (package
+    (name "leiningen")
+    (version "2.8.1")
+    (source (origin
+              (method url-fetch/tarbomb)
+              (uri (string-append
+                    "https://github.com/technomancy/"
+                    name "/archive/" version ".tar.gz"))
+              (sha256
+               (base32
+                "0hjjszxqhc9sh31dpirak3c5ws90z41ypcc16y4s1q35ydlajv3w"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete 'build)
+         (delete 'check)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (install-file (string-append
+                            ,name "-" ,version "/bin/lein")
+                           (string-append
+                            (assoc-ref outputs "out") "/bin")))))))
+    (home-page "https://leiningen.org")
+    (synopsis "Automating Clojure projects without setting your hair on fi=
re")
+    (description "Leiningen is the easiest way to use Clojure.  With a foc=
us
+on project automation and declarative configuration, it gets out of your w=
ay
+and lets you focus on your code.")
+    (license license:epl1.0)))
+
 (define-public javacc
   (package
     (name "javacc")
=2D-=20
2.17.0


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEiNLX4rpUkGUHqgmts0r+M/VPj+8FAlrfUPkACgkQs0r+M/VP
j+/UgAgAkYLqqXLOb5LKbRPGArJtelH//6g927vhN4IApkEeYG9f2vU85bAfpxi+
+dcJYJknWaVCRDkQ9FY508BFiVqrYVhzSvcB/f6sLE3pMKPvX4sA4/bGCM1TTuH/
AfXmSiv4dkEgI2ad+m/0w+YpdeYDDMyG2O0utC84l7OvgK4PdaQAS6bfIDWkZjAZ
vccSRbhmL3LRIraXr9GT0Rx35QIsYjEyTUjQ2Sc07jkofKfWtAdr+8uz+QVaCFCX
RIZwWMDqy3+xowO5xVJ5z8Qy0SINkX5qaJkLneaVFNB0onOyDVo/h4FIIV/whRHB
orNMFhx63p0PyzemESrdf9V12u3BbQ==
=wkAx
-----END PGP SIGNATURE-----
--==-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Charlie Ritter <chewzerita@HIDDEN>
Subject: bug#31250: Acknowledgement ([PATCH] Add leiningen)
Message-ID: <handler.31250.B.152458473112817.ack <at> debbugs.gnu.org>
References: <cuck1swsj5z.fsf@HIDDEN>
X-Gnu-PR-Message: ack 31250
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 31250 <at> debbugs.gnu.org
Date: Tue, 24 Apr 2018 15:46:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 31250 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
31250: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31250
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#31250] [PATCH] Add leiningen
Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 25 Apr 2018 20:55:01 +0000
Resent-Message-ID: <handler.31250.B31250.152468965430923 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31250
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Charlie Ritter <chewzerita@HIDDEN>
Cc: 31250 <at> debbugs.gnu.org
Received: via spool by 31250-submit <at> debbugs.gnu.org id=B31250.152468965430923
          (code B ref 31250); Wed, 25 Apr 2018 20:55:01 +0000
Received: (at 31250) by debbugs.gnu.org; 25 Apr 2018 20:54:14 +0000
Received: from localhost ([127.0.0.1]:39584 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fBRQc-00082h-HJ
	for submit <at> debbugs.gnu.org; Wed, 25 Apr 2018 16:54:14 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:52508)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fBRQa-00082Z-V0
 for 31250 <at> debbugs.gnu.org; Wed, 25 Apr 2018 16:54:13 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id D7A7C123DF;
 Wed, 25 Apr 2018 22:54:11 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id dkR9e2gs0EGr; Wed, 25 Apr 2018 22:54:10 +0200 (CEST)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 178C611629;
 Wed, 25 Apr 2018 22:54:10 +0200 (CEST)
From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
References: <cuck1swsj5z.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 6 =?UTF-8?Q?Flor=C3=A9al?= an 226 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 25 Apr 2018 22:54:09 +0200
In-Reply-To: <cuck1swsj5z.fsf@HIDDEN> (Charlie Ritter's message of "Tue,
 24 Apr 2018 11:44:56 -0400")
Message-ID: <87k1svovm6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello,

Charlie Ritter <chewzerita@HIDDEN> skribis:

> From eac978c99ef288926530dcdee64cc9e3b7b8fe32 Mon Sep 17 00:00:00 2001
> From: Charlie Ritter <chewzerita@HIDDEN>
> Date: Tue, 24 Apr 2018 11:42:39 -0400
> Subject: [PATCH] gnu: Add leiningen.
>
> * gnu/packages/java.scm (leiningen): New variable.

Good to see the family of package managers *and* Lisps grow in Guix.
:-)

> +    (source (origin
> +              (method url-fetch/tarbomb)
> +              (uri (string-append
> +                    "https://github.com/technomancy/"
> +                    name "/archive/" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0hjjszxqhc9sh31dpirak3c5ws90z41ypcc16y4s1q35ydlajv3w"))=
))
> +    (build-system ant-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (delete 'configure)
> +         (delete 'build)
> +         (delete 'check)
> +         (replace 'install
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (install-file (string-append
> +                            ,name "-" ,version "/bin/lein")
> +                           (string-append
> +                            (assoc-ref outputs "out") "/bin")))))))

Unfortunately installing the =E2=80=98lein=E2=80=99 script alone won=E2=80=
=99t cut it.  The
issue is that, AIUI, the script downloads and installs pre-built Jars on
a first run (through its =E2=80=98self_install=E2=80=99 function).

The policy for Guix is to build things from source.  So we would have to
provide Leiningen and its dependencies as packages built from source,
and to remove the auto-download functionality from the script.

That=E2=80=99s obviously more work.  WDYT?

Thanks,
Ludo=E2=80=99.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#31250] [PATCH] Add leiningen
Resent-From: Nils Gillmann <ng0@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 26 Apr 2018 12:42:01 +0000
Resent-Message-ID: <handler.31250.B31250.15247464698183 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31250
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: Charlie Ritter <chewzerita@HIDDEN>, 31250 <at> debbugs.gnu.org
Received: via spool by 31250-submit <at> debbugs.gnu.org id=B31250.15247464698183
          (code B ref 31250); Thu, 26 Apr 2018 12:42:01 +0000
Received: (at 31250) by debbugs.gnu.org; 26 Apr 2018 12:41:09 +0000
Received: from localhost ([127.0.0.1]:40073 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fBgCy-00027v-Rw
	for submit <at> debbugs.gnu.org; Thu, 26 Apr 2018 08:41:09 -0400
Received: from static.195.114.201.195.clients.your-server.de
 ([195.201.114.195]:44390 helo=conspiracy.of.n0.is)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ng0@HIDDEN>) id 1fBgCw-00027l-En
 for 31250 <at> debbugs.gnu.org; Thu, 26 Apr 2018 08:41:07 -0400
Received: by conspiracy.of.n0.is (OpenSMTPD) with ESMTPSA id 09ba0e70
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Thu, 26 Apr 2018 12:41:04 +0000 (UTC)
Date: Thu, 26 Apr 2018 12:41:32 +0000
From: Nils Gillmann <ng0@HIDDEN>
Message-ID: <20180426124132.u62mcbnxflxvjsti@abyayala>
References: <cuck1swsj5z.fsf@HIDDEN>
 <87k1svovm6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87k1svovm6.fsf@HIDDEN>
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Ludovic Courtès transcribed 1.7K bytes:
> Hello,
> 
> Charlie Ritter <chewzerita@HIDDEN> skribis:
> 
> > From eac978c99ef288926530dcdee64cc9e3b7b8fe32 Mon Sep 17 00:00:00 2001
> > From: Charlie Ritter <chewzerita@HIDDEN>
> > Date: Tue, 24 Apr 2018 11:42:39 -0400
> > Subject: [PATCH] gnu: Add leiningen.
> >
> > * gnu/packages/java.scm (leiningen): New variable.

Nice!

> Good to see the family of package managers *and* Lisps grow in Guix.
> :-)
> 
> > +    (source (origin
> > +              (method url-fetch/tarbomb)
> > +              (uri (string-append
> > +                    "https://github.com/technomancy/"
> > +                    name "/archive/" version ".tar.gz"))
> > +              (sha256
> > +               (base32
> > +                "0hjjszxqhc9sh31dpirak3c5ws90z41ypcc16y4s1q35ydlajv3w"))))
> > +    (build-system ant-build-system)
> > +    (arguments
> > +     `(#:phases
> > +       (modify-phases %standard-phases
> > +         (delete 'configure)
> > +         (delete 'build)
> > +         (delete 'check)
> > +         (replace 'install
> > +           (lambda* (#:key outputs #:allow-other-keys)
> > +             (install-file (string-append
> > +                            ,name "-" ,version "/bin/lein")
> > +                           (string-append
> > +                            (assoc-ref outputs "out") "/bin")))))))
> 
> Unfortunately installing the ‘lein’ script alone won’t cut it.  The
> issue is that, AIUI, the script downloads and installs pre-built Jars on
> a first run (through its ‘self_install’ function).

Yes, that's why my attempt at leiningen has been "sleeping" for a long time now...

> The policy for Guix is to build things from source.  So we would have to
> provide Leiningen and its dependencies as packages built from source,
> and to remove the auto-download functionality from the script.

But this is on first run, not during the installation as far as I remember.
So in my opinion that's not an immediate blocker for the initial package.
The obvious fix afterwards is to apply the building from source.

> That’s obviously more work.  WDYT?
> 
> Thanks,
> Ludo’.
> 
> 
> 




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#31250] [PATCH] Add leiningen
Resent-From: Pjotr Prins <pjotr.public12@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 27 Apr 2018 05:17:02 +0000
Resent-Message-ID: <handler.31250.B31250.152480620215315 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31250
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Nils Gillmann <ng0@HIDDEN>
Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Charlie Ritter <chewzerita@HIDDEN>, 31250 <at> debbugs.gnu.org
Received: via spool by 31250-submit <at> debbugs.gnu.org id=B31250.152480620215315
          (code B ref 31250); Fri, 27 Apr 2018 05:17:02 +0000
Received: (at 31250) by debbugs.gnu.org; 27 Apr 2018 05:16:42 +0000
Received: from localhost ([127.0.0.1]:40837 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fBvkQ-0003yx-2M
	for submit <at> debbugs.gnu.org; Fri, 27 Apr 2018 01:16:42 -0400
Received: from mail.thebird.nl ([94.142.245.5]:53862)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pjotr2017@HIDDEN>) id 1fBvkN-0003yk-Ms
 for 31250 <at> debbugs.gnu.org; Fri, 27 Apr 2018 01:16:40 -0400
Received: by mail.thebird.nl (Postfix, from userid 1000)
 id C43CC79EE; Fri, 27 Apr 2018 07:16:33 +0200 (CEST)
Date: Fri, 27 Apr 2018 07:16:33 +0200
From: Pjotr Prins <pjotr.public12@HIDDEN>
Message-ID: <20180427051633.fmszqyynlhvtjqt7@HIDDEN>
References: <cuck1swsj5z.fsf@HIDDEN> <87k1svovm6.fsf@HIDDEN>
 <20180426124132.u62mcbnxflxvjsti@abyayala>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20180426124132.u62mcbnxflxvjsti@abyayala>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Thu, Apr 26, 2018 at 12:41:32PM +0000, Nils Gillmann wrote:
> > The policy for Guix is to build things from source.  So we would have to
> > provide Leiningen and its dependencies as packages built from source,
> > and to remove the auto-download functionality from the script.
> 
> But this is on first run, not during the installation as far as I remember.
> So in my opinion that's not an immediate blocker for the initial package.
> The obvious fix afterwards is to apply the building from source.

We also packaged tools like conda that download binaries when run.

Adding Leiningen may accelerate using Clojure from Guix and support
will get better over time. Every time Rich Hickey talks about
deployment I am thinking he should be introduced to Guix.

Thanks for this!

Pj.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#31250] [PATCH] Add leiningen
Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 28 Apr 2018 20:45:03 +0000
Resent-Message-ID: <handler.31250.B31250.152494826627878 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31250
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Pjotr Prins <pjotr.public12@HIDDEN>
Cc: Charlie Ritter <chewzerita@HIDDEN>, 31250 <at> debbugs.gnu.org, Nils Gillmann <ng0@HIDDEN>
Received: via spool by 31250-submit <at> debbugs.gnu.org id=B31250.152494826627878
          (code B ref 31250); Sat, 28 Apr 2018 20:45:03 +0000
Received: (at 31250) by debbugs.gnu.org; 28 Apr 2018 20:44:26 +0000
Received: from localhost ([127.0.0.1]:42263 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fCWhm-0007Fa-Ex
	for submit <at> debbugs.gnu.org; Sat, 28 Apr 2018 16:44:26 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:51222)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fCWhk-0007FS-Jf
 for 31250 <at> debbugs.gnu.org; Sat, 28 Apr 2018 16:44:25 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 48F1712EF3;
 Sat, 28 Apr 2018 22:44:23 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id UcCb5BTIPi7z; Sat, 28 Apr 2018 22:44:20 +0200 (CEST)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 026DF12EF2;
 Sat, 28 Apr 2018 22:44:19 +0200 (CEST)
From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
References: <cuck1swsj5z.fsf@HIDDEN> <87k1svovm6.fsf@HIDDEN>
 <20180426124132.u62mcbnxflxvjsti@abyayala>
 <20180427051633.fmszqyynlhvtjqt7@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 9 =?UTF-8?Q?Flor=C3=A9al?= an 226 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sat, 28 Apr 2018 22:44:19 +0200
In-Reply-To: <20180427051633.fmszqyynlhvtjqt7@HIDDEN> (Pjotr Prins's
 message of "Fri, 27 Apr 2018 07:16:33 +0200")
Message-ID: <87bme3awnw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Pjotr Prins <pjotr.public12@HIDDEN> skribis:

> On Thu, Apr 26, 2018 at 12:41:32PM +0000, Nils Gillmann wrote:
>> > The policy for Guix is to build things from source.  So we would have =
to
>> > provide Leiningen and its dependencies as packages built from source,
>> > and to remove the auto-download functionality from the script.
>>=20
>> But this is on first run, not during the installation as far as I rememb=
er.
>> So in my opinion that's not an immediate blocker for the initial package.
>> The obvious fix afterwards is to apply the building from source.
>
> We also packaged tools like conda that download binaries when run.

True, that=E2=80=99s not great, and Leiningen may actually do the same thin=
g as
part of its normal job=E2=80=A6

I think it=E2=80=99s good to estimate how difficult it would be to build
Leiningen from source, and then we can decide what to do.

Ludo=E2=80=99.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 5 May 2018 20:27:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 05 16:27:06 2018
Received: from localhost ([127.0.0.1]:50860 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fF3lp-0000Ot-VC
	for submit <at> debbugs.gnu.org; Sat, 05 May 2018 16:27:06 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:53072)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fF3lo-0000Oj-4H
 for control <at> debbugs.gnu.org; Sat, 05 May 2018 16:27:04 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id A5D902C0F0
 for <control <at> debbugs.gnu.org>; Sat,  5 May 2018 22:27:03 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id htRWETOZ7W-h for <control <at> debbugs.gnu.org>;
 Sat,  5 May 2018 22:27:03 +0200 (CEST)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id D875E2C0F7
 for <control <at> debbugs.gnu.org>; Sat,  5 May 2018 22:27:02 +0200 (CEST)
Date: Sat, 05 May 2018 22:27:02 +0200
Message-Id: <87h8nlrgq1.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
Subject: control message for bug #31250
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

tags 31250 moreinfo





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.