From: Pierre Neidhardt <ambrevar@gmail.com>
To: 31939@debbugs.gnu.org
Subject: [bug#31939] [PATCH 04/13] gnu: Add go-github-com-aarzilli-golua.
Date: Fri, 22 Jun 2018 20:30:22 +0200 [thread overview]
Message-ID: <20180622183031.3044-3-ambrevar@gmail.com> (raw)
In-Reply-To: <20180622183031.3044-1-ambrevar@gmail.com>
* gnu/packages/golang.scm (go-github-com-aarzilli-golua): New variable.
---
gnu/packages/golang.scm | 46 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 22eb4b335..0373bca34 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -41,6 +41,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pcre)
+ #:use-module (gnu packages lua)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
@@ -1876,3 +1877,48 @@ makes it possible to handle ANSI color escapes on Windows.")
(description "This package provides @code{ansi}, a Go module that can
generate ANSI colored strings.")
(license license:bsd-style))))
+
+(define-public go-github-com-aarzilli-golua
+ (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
+ (revision "0"))
+ (package
+ (name "go-github-com-aarzilli-golua")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/aarzilli/golua")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("lua" ,lua)))
+ (arguments
+ `(#:unpack-path "github.com/aarzilli/golua"
+ #:import-path "github.com/aarzilli/golua/lua"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key import-path #:allow-other-keys)
+ (invoke "go" "install"
+ "-v" ; print the name of packages as they are compiled
+ "-x" ; print each command as it is invoked
+ "-ldflags=-s -w" ; strip the symbol table and debug
+ "-tags" "llua" ; Latest Lua on Guix does not have a version number.
+ import-path)))
+ (replace 'check
+ (lambda* (#:key import-path #:allow-other-keys)
+ (invoke "go" "test"
+ "-tags" "llua" ; Latest Lua on Guix does not have a version number.
+ import-path)))
+ )))
+ (home-page "https://github.com/aarzilli/golua")
+ (synopsis "Go Bindings for the Lua C API")
+ (description "This package provides @code{lua}, a Go module that can
+run a Lua virtual machine.")
+ (license license:bsd-style))))
--
2.17.1
next prev parent reply other threads:[~2018-06-22 18:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-22 18:27 [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 03/13] gnu: Add go-github-com-mgutz-ansi Pierre Neidhardt
2018-06-22 18:30 ` Pierre Neidhardt [this message]
2018-06-22 18:30 ` [bug#31939] [PATCH 05/13] gnu: Add go-gitlab-com-ambrevar-golua-unicode Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 08/13] gnu: Add go-github-com-stevedonovan-luar Pierre Neidhardt
2018-07-13 12:25 ` Ludovic Courtès
2018-06-22 18:30 ` [bug#31939] [PATCH 09/13] gnu: Add go-github-com-kr-text Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 10/13] gnu: Add go-github-com-michiwend-golang-pretty Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 11/13] gnu: Add go-github-com-michiwend-gomusicbrainz Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 12/13] gnu: Add go-github-com-wtolson-go-taglib Pierre Neidhardt
2018-06-22 18:30 ` [bug#31939] [PATCH 13/13] gnu: Add demlo Pierre Neidhardt
2018-06-23 9:08 ` Pierre Neidhardt
2018-07-13 12:27 ` Ludovic Courtès
2018-06-23 9:08 ` [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty Pierre Neidhardt
2018-07-13 12:31 ` Ludovic Courtès
2018-07-16 21:22 ` Pierre Neidhardt
2018-07-17 8:11 ` Ludovic Courtès
2018-07-22 21:02 ` Pierre Neidhardt
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180622183031.3044-3-ambrevar@gmail.com \
--to=ambrevar@gmail.com \
--cc=31939@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).