From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Pykhalov Subject: Re: Trying to define a package Date: Mon, 02 Apr 2018 19:18:30 +0300 Message-ID: <87woxpd1k9.fsf@gmail.com> References: <878ta5r8kw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f32AM-00077v-5W for help-guix@gnu.org; Mon, 02 Apr 2018 12:18:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f32AH-0000BJ-OW for help-guix@gnu.org; Mon, 02 Apr 2018 12:18:42 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:36897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f32AH-0000At-Ga for help-guix@gnu.org; Mon, 02 Apr 2018 12:18:37 -0400 Received: by mail-wm0-x236.google.com with SMTP id r131so28242008wmb.2 for ; Mon, 02 Apr 2018 09:18:37 -0700 (PDT) In-Reply-To: <878ta5r8kw.fsf@gmail.com> (Pierre Neidhardt's message of "Mon, 02 Apr 2018 19:53:11 +0530") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Arnaud B Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Arnaud, Pierre Neidhardt writes: > Arnaud B writes: [=E2=80=A6] >> One thing to add is that the downloaded source file is not tar.gz file >> format but zip file, perhaps that's part of the problem ? > > I think you need > > (native-inputs > `(("unzip" ,unzip))) > > And add the (gnu packages compression) module. You will also need to modify a =E2=80=98%standard-phases=E2=80=99 to unzip = it. Alternatively you could use =E2=80=98url-fetch/zipbomb=E2=80=99 from =E2=80=98guix/guix/download.scm=E2=80=99 instead of =E2=80=98url-fetch=E2= =80=99. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlrCV9YACgkQckbhHGm3 lWkg7w/+NQixnemiMfCRVp7bd9ylQG8zWUUjNx5Zm33Od90jV+q0dz60AjZxHYas 0mmHc3R5EyBNjwZhL59/5DbczOf5ZqKz5C32VWc1x+Rz/PGVNKLDRnG0j3eZ8PkS cqyROIxJoPGEr4XNdh4nV8JfLrk6+2eDtceDoGtt8/S/1AllhsjFfBWfQNDbzJVU qHb16IXvEl96J4GCwxXFiNhK0+Tv5R2wqEFDSHzXUHDqYVam6sGJd7oYlqHSbFyQ H1OOq4KWCEI7A4zUrIVrJGoV/32tUMTlLBvcRgl6umjZpFhk1IK0s3E8VONhpOos dQkihPrApJQixFvAKiNVGCamySBVZAU3r3F/HVU3M893PAb6U/pzCBzJoA1Zf3QM OYFNXs0pttkHAb81PMNKdBT3Tpjc085ZUNkR8k6vvIbJhZgjNySevqVuTcyK/eCt DBEue19y6RWXEp4Cuyy/EPnujcbBKENNo42YmNNFaHJ44zHck1hREqZNv2XtYk9f zNX69Jxc/qqpTl6SADwyXmib8/YIQl9Y2NKeE+JZHgttK9pPv1Z6bKg1B5j704bE l2U8tAUfXhuNHdt6WQc9Gtn3FTmfl4XBXvZNdFVOMMy+Qh5cVeky4+nG0R3glV/L rVcJF+BDsdzIZaLIAgEJ21RIuirvbTfVhB9YQbddGe3mUKEyrsQ= =E4WA -----END PGP SIGNATURE----- --=-=-=--