From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mekeor Melire Subject: How to package go-sqlite3, go-fuse, and finally TMSU? Date: Sat, 01 Jul 2017 16:32:51 +0200 Message-ID: <878tk8kz1o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRJSF-0006nk-8t for guix-devel@gnu.org; Sat, 01 Jul 2017 10:33:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRJSE-0003Ae-7y for guix-devel@gnu.org; Sat, 01 Jul 2017 10:32:59 -0400 Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:34918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRJSE-00039p-1i for guix-devel@gnu.org; Sat, 01 Jul 2017 10:32:58 -0400 Received: by mail-wr0-x22f.google.com with SMTP id k67so215217539wrc.2 for ; Sat, 01 Jul 2017 07:32:57 -0700 (PDT) Received: from melibre. ([2001:a61:2267:eb01:6504:dc0:3542:fb2f]) by smtp.gmail.com with ESMTPSA id r40sm10915823wrb.37.2017.07.01.07.32.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Jul 2017 07:32:56 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org I want to package TMSU: https://github.com/oniony/TMSU As described in the COMPILING instructions at https://github.com/oniony/TMSU/blob/master/COMPILING.md it needs these two go-libraries: go-sqlite: https://github.com/mattn/go-sqlite3 go-fuse: https://github.com/hanwen/go-fuse 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: https://github.com/NixOS/nixpkgs/blob/2e983f14f628dab9d83282eca5f85da0846ba0af/pkgs/tools/filesystems/tmsu/default.nix PS: Do you know alternatives similar to TMSU? -- mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868