From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mBYdESQ6Q2JkFQEAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 18:56:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oBRbCSQ6Q2KKWQAAG6o9tA (envelope-from ) for ; Tue, 29 Mar 2022 18:56:04 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AF61037DD2 for ; Tue, 29 Mar 2022 18:56:00 +0200 (CEST) Received: from localhost ([::1]:39140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZF8R-0004Uq-DQ for larch@yhetil.org; Tue, 29 Mar 2022 12:55:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZF7z-0004Sg-Ai for help-guix@gnu.org; Tue, 29 Mar 2022 12:55:32 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZF7x-0006OE-9l for help-guix@gnu.org; Tue, 29 Mar 2022 12:55:30 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1648572926; cv=none; d=zohomail.com; s=zohoarc; b=Up6ymIw4rhW2D4r6blMf2LUWuadflEAUyGzrOiyFtihO2gKioSNpcJcXN8OtMCJpbuUwbEQuMEEOWgeCxeTX8Fl2v3CyPm1hRAq0ZDAtbdZWiR2scEq36sq3KKvWFfhE6kqnA8TMaHTJbnBj09Zl14IEoT5tZAQxodV3BnNtNEM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648572926; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=R80rRg85qWtrmQERukDt1B4sZaazJyLc7ejvHKaWQXc=; b=lDlLLAu5HrrDxcn03ZT0QiENMQTLqyevfaicsTmicL9edxgLC8eJdG4Kaa88PKn9RkvptydlYarzUSFlqIPGX3cVCEwqwPnjwcsL+97m0KR/RAWpWVqLo5SAAquSrd/iBw6tdMZ4S2Q49ZjRn/OclNujFiIimuiywGo+o1ZpZgo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648572926; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=R80rRg85qWtrmQERukDt1B4sZaazJyLc7ejvHKaWQXc=; b=GxgQYCxZXGg6bVigDHTu1v6MjS3+qeZUyyploLVtuUvrcAinlU70aE8XhuzKjIIB Kr+wMiZvHHRPqZThXlzGNhoZ0zZD5W5MsWNj3v09o5HEyqEH3QInpCV4HZxB394HXOE I/fH8oSm3yDwahVv8QY+6k6qV7VrQ4gCTbxhPTNo= Received: from localhost (248-110-142-46.pool.kielnet.net [46.142.110.248]) by mx.zohomail.com with SMTPS id 1648572924327787.9326809964139; Tue, 29 Mar 2022 09:55:24 -0700 (PDT) References: User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus To: =?utf-8?Q?C=C3=A1ssio?= Tavares Subject: Re: Packaging existing software for Guix Date: Tue, 29 Mar 2022 17:55:49 +0200 In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <875ynw8zra.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648572963; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=R80rRg85qWtrmQERukDt1B4sZaazJyLc7ejvHKaWQXc=; b=ps/X1FOyQn60tRgtjSufD8Eu0HFX1Znr3d9xUOmW7DdaYJcPIhpQ1pDUtC1+kdX+JOV7Zf chPeOctCR3gfhmXst5BP4tzZDA7Im8t7oUbeF9S+uqu7LYH4Z4GoW/wOcVXK+ItyLxxa75 IjkPekWrvL+r9rtgxt7NaLRpi9qNnBqcaJJk02MrF7OdnR7U1MA7GPTA5HxVnlDntM0ul4 amFLlBrmrj87M3ILnUC1VXuSh3ffwruNiizKWn14mjklXuMy3/yYN8ibrHSwOUnbhAjneA PMpl9+hU0CSF+Rx5GvWPgbnkyR05qRx7Ojtl9FlnMjcF4jwL+sfrLFMeBeMTtg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1648572963; a=rsa-sha256; cv=pass; b=AJbt5018ntBMBkOmqwNcfMbbMuYTKlZ+v3Jmgmr692CHUwDP1VcOm2eseYzP15X+fm0gzW CtRKKpK1G508menyhuCg0Ln+21pTnC1VS4Dsn4m9/iVUPDOHnGjBQBwgoF3uUFmHLqwSL3 7OKb7Uqk3+fxxkP9fqRxuFqlJ0oz9AmJA0gojIpZIclwN1H7yyyHNFiZzXBp+VEf0sL5B6 tKGkoISwmtixWqEeih5/1bYqOq1iShOi4T/figQeFykc3v1ypmvgbWrPr/VSBISjrSwNlo Y5eNJuA18lcQpY483JIGRBuOnX2B0218OT9fc/+FK2ceHE6EeGfx0UdDGhaENg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=GxgQYCxZ; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=GxgQYCxZ; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AF61037DD2 X-Spam-Score: -8.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: R8b0K9k+R9Yt Hi, C=C3=A1ssio Tavares writes: > 1. If I submit an issue with a package request, does it take long for > the package to be made available? It can take quite some time when you don=E2=80=99t have someone to review t= he package. You are welcome to send me issue numbers with your patches and I=E2=80=99ll review them more quickly. > 2. Can someone with only a very basic understanding of the Scheme (and > the functional paradigm) package software successfully enough to submi= t it > to the Guix project? Yes. Ignore the language. Most of the package definition is just data. You can even write a package definition as JSON first and then have Guix convert it to the Guix DSL. > 3. Would that be very time-consuming (because my work is in a very > different area)? Is the learning curve steep? It depends on the software. If an application follows well-established conventions it can be trivial to package it. On the other hand, some software can be nearly impossible to package (e.g. Tensorflow 2). Nixpkgs is often not a good template, because more often than not they are cutting corners when it comes to bootstrapping or building from source. > 4. As far as I could understand, when defining a package from a git > repository, I have to specify the package version and commit. Does this > mean that I will forever have to check for new versions and edit the > package definition to update it? Yes, just like with any other source code. You can make Guix use a different source with transformations on the command line, but we try to keep things up-to-date. > 5. Is there a relatively simple way to port packages from other distros > into Guix? Could this be an automated process? Not from other distros but from upstream repositories; see =E2=80=9Cguix import=E2=80=9D. If you want a fun project you could work on extending =E2= =80=9Cguix import=E2=80=9D to import from distro archives. --=20 Ricardo