all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Mekeor Melire <mekeor.melire@gmail.com>, guix-devel@gnu.org
Subject: Re: How to package go-sqlite3, go-fuse, and finally TMSU?
Date: Fri, 21 Jul 2017 13:55:29 -0400	[thread overview]
Message-ID: <20170721175529.GA8855@jasmine.lan> (raw)
In-Reply-To: <20170721144531.agpeoavy6tevpqbw@abyayala>

[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]

On Fri, Jul 21, 2017 at 02:45:31PM +0000, ng0 wrote:
> Mekeor Melire transcribed 0.8K bytes:
> > But how to package go-libraries for Guix? We don't have a
> > go-build-system. On usual distributions, you install these libraries
> > either with `go get github.com/mattn/go-sqlite3` or `go install
> > github.com/mattn/go-sqlite3`. In fact, Nix just downloads those two
> > libraries to the same directory as TMSU:
> 
> I don't see any replies to this, so:
> I think the current state of the go-build-system is that someone
> (Pjotr?) started working on it but it needs someone with more experience
> in Go to get this finished.

It was Petter that shared a prototype go-build-system. Recently I read
it carefully and have a good idea of how to proceed. I plan to finish it
eventually but I'm happy to share what I learned with anyone else who is
interested in doing the work.

> There is 'syncthing' which someone has packaged, maybe you could look at
> it and apply something similar.

That package is here:
https://github.com/lfam/pkgs/blob/master/leo/packages/syncthing.scm

It shows a bit about how Go software expects to be built, but not the
whole story. It uses the bundled dependencies, so it doesn't illustrate
how the dependencies need to be laid out in a filesystem union relative
to the Syncthing source code.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-07-21 17:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-01 14:32 How to package go-sqlite3, go-fuse, and finally TMSU? Mekeor Melire
2017-07-21 14:45 ` ng0
2017-07-21 17:55   ` Leo Famulari [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-24 20:20 Frederick Muriithi
2017-08-24 20:55 ` Frederick Muriithi
2017-08-26 19:48 ` Mekeor Melire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170721175529.GA8855@jasmine.lan \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=mekeor.melire@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.