Re: packaging a golang package

2021-01-28 Thread Timmy Douglas
Katherine Cox-Buday writes: > Hello again, François! I've redirected this thread to guix-devel, and > the bug since we've begun discussing implementation details. > > JOULAUD François writes: > >> First is to use vendored dependencies (when upstream provides them). This >> one has the merits of

Re: packaging a golang package

2021-01-28 Thread adfeno--- via
If by vendoring we mean bundling and also make users fetch data from places not explicitly committed to the GNU FSDG, then allow me to jump in to add some important notes. Em 27/01/2021 11:31, Katherine Cox-Buday escreveu: > As a packager for a distribution, I dislike vendoring because of the >

Packaging (simple) tools in Golang

2021-01-28 Thread Jelle Licht
Hello Guix! How would one package a tool written in Go(lang) using guix? I am looking at https://github.com/guitmz/n26, but all of my efforts using the go-build-system end up having only some documentation and (if I set `#:install-source?' to #f) the sources in the resultant output. Ideally, I wou

Re: packaging a golang package

2021-01-28 Thread Ludovic Courtès
Hi, adfeno--- via skribis: > If by vendoring we mean bundling and also make users fetch data from places > not explicitly committed to the GNU FSDG, then allow me to jump in to add > some important notes. > > Em 27/01/2021 11:31, Katherine Cox-Buday escreveu: >> As a packager for a distributio

Re: Custom Service Definition for Caddy

2021-01-28 Thread Efraim Flashner
On Tue, Jan 26, 2021 at 11:02:58AM -0600, Cameron wrote: > Hello again everyone! > > I'm having a great time learning about Guix, but am struggling with defining > a custom service for Caddy. The 'caddy' package below works as expected -- > installing it puts the "caddy" binary in $PATH and it w

Re: packaging a golang package

2021-01-28 Thread adfeno--- via
Em 28/01/2021 13:03, Ludovic Courtès escreveu: > IMO, ‘guix import’ does not “steer users towards obtaining any nonfree > information” any more than wget does. It’s a tool for packagers that > returns a package definition or template thereof, and it’s up to the > packager to decide what to do with

Re: Packaging (simple) tools in Golang

2021-01-28 Thread Leo Famulari
On Thu, Jan 28, 2021 at 02:33:08PM +0100, Jelle Licht wrote: > Hello Guix! > > How would one package a tool written in Go(lang) using guix? I am > looking at https://github.com/guitmz/n26, but all of my efforts using > the go-build-system end up having only some documentation and (if I set > `#:in

Re: Packaging (simple) tools in Golang

2021-01-28 Thread Leo Famulari
On Thu, Jan 28, 2021 at 02:33:08PM +0100, Jelle Licht wrote: > Hello Guix! > > How would one package a tool written in Go(lang) using guix? I am > looking at https://github.com/guitmz/n26, but all of my efforts using > the go-build-system end up having only some documentation and (if I set > `#:in