From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uFdjHrDZ+V+1XAAA0tVLHw (envelope-from ) for ; Sat, 09 Jan 2021 16:28:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cGEoGrDZ+V/UCgAA1q6Kng (envelope-from ) for ; Sat, 09 Jan 2021 16:28:32 +0000 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 82D799403EB for ; Sat, 9 Jan 2021 16:28:31 +0000 (UTC) Received: from localhost ([::1]:39038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyH6M-00046u-Fm for larch@yhetil.org; Sat, 09 Jan 2021 11:28:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyH64-00043K-Ps for help-guix@gnu.org; Sat, 09 Jan 2021 11:28:12 -0500 Received: from mx1.riseup.net ([198.252.153.129]:43738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyH62-0005LE-If for help-guix@gnu.org; Sat, 09 Jan 2021 11:28:12 -0500 Received: from fews1.riseup.net (unknown [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DClkm1dVSzFrHD; Sat, 9 Jan 2021 08:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1610209680; bh=5BK97tIlexWyzk0A5s9NAR2am3qod882WkrkAyts3yo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OD6PcfzIvxZRLLa/G99cjp4jTEo7jqy4AeAwAqvip1UgvPNoCdoqSqqUx8HgutZux 1p0Lyhg2UrBtQfIgamiAtZvUjBFd9ZuFiEz88/iM5bIgCJ4DibNlz/LRGLdxq3sfLv 1xxyIxk235szYHtmxF1azdKkKF59D4TDNuW8fhFA= X-Riseup-User-ID: AAB645D4044124A88A93793255E8A1A705C32AEBB7B2189F2396DDC18802735E Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DClkj27cWz5vdX; Sat, 9 Jan 2021 08:27:55 -0800 (PST) Date: Fri, 8 Jan 2021 19:33:49 +0100 From: raingloom To: Timmy Douglas Subject: Re: packaging a golang package Message-ID: <20210108193349.1c744e94@riseup.net> In-Reply-To: <87h7nrud2a.fsf@timmydouglas.com> References: <87h7nrud2a.fsf@timmydouglas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=OD6PcfzI; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 82D799403EB X-Spam-Score: -3.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: VylgK/6ueJvu On Thu, 07 Jan 2021 23:01:49 -0800 Timmy Douglas wrote: > I recently installed guix for the first time and I wanted to try to > package my first program. The one I decided to try is written in go > and uses go.mod > (https://github.com/coredns/coredns/blob/master/go.mod) for modules. > Running `go build` would normally download those if they don't exist. > > I took a look at a couple of other packages, and it looks like the > right way to do it would be to package the individual modules as seen > in guix/gnu/packages/golang.scm. Has anyone tried automating this > sort of thing? There are almost 40 dependencies... There is a WIP importer: https://issues.guix.gnu.org/44178