GNU bug report logs - #31250
[PATCH] Add leiningen

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Charlie Ritter <chewzerita@HIDDEN>; Keywords: moreinfo patch; dated Tue, 24 Apr 2018 15:46:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 31250) by debbugs.gnu.org; 28 Apr 2018 20:44:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 28 16:44:26 2018
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?=)
To: Pjotr Prins <pjotr.public12@HIDDEN>
Subject: Re: [bug#31250] [PATCH] Add leiningen
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?=
 =?utf-8?Q?=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-Debbugs-Envelope-To: 31250
Cc: Charlie Ritter <chewzerita@HIDDEN>, 31250 <at> debbugs.gnu.org,
 Nils Gillmann <ng0@HIDDEN>
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.




Information forwarded to guix-patches@HIDDEN:
bug#31250; Package guix-patches. Full text available.

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


Received: (at 31250) by debbugs.gnu.org; 27 Apr 2018 05:16:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 27 01:16:42 2018
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>
To: Nils Gillmann <ng0@HIDDEN>
Subject: Re: [bug#31250] [PATCH] Add leiningen
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-Debbugs-Envelope-To: 31250
Cc: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN>,
 Charlie Ritter <chewzerita@HIDDEN>, 31250 <at> debbugs.gnu.org
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.




Information forwarded to guix-patches@HIDDEN:
bug#31250; Package guix-patches. Full text available.

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


Received: (at 31250) by debbugs.gnu.org; 26 Apr 2018 12:41:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 26 08:41:09 2018
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>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#31250] [PATCH] Add leiningen
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-Debbugs-Envelope-To: 31250
Cc: Charlie Ritter <chewzerita@HIDDEN>, 31250 <at> debbugs.gnu.org
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’.
> 
> 
> 




Information forwarded to guix-patches@HIDDEN:
bug#31250; Package guix-patches. Full text available.

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


Received: (at 31250) by debbugs.gnu.org; 25 Apr 2018 20:54:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 25 16:54:14 2018
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?=)
To: Charlie Ritter <chewzerita@HIDDEN>
Subject: Re: [bug#31250] [PATCH] Add leiningen
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?=
 =?utf-8?Q?=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-Debbugs-Envelope-To: 31250
Cc: 31250 <at> debbugs.gnu.org
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.




Information forwarded to guix-patches@HIDDEN:
bug#31250; Package guix-patches. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 24 Apr 2018 15:45:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 24 11:45:31 2018
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>
To: guix-patches@HIDDEN
Subject: [PATCH] Add leiningen
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-Debbugs-Envelope-To: submit
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-----
--==-=-=--




Acknowledgement sent to Charlie Ritter <chewzerita@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#31250; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.