[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/13: gnu: Add go-github-com-aarzilli-golua.
From: |
Pierre Neidhardt |
Subject: |
04/13: gnu: Add go-github-com-aarzilli-golua. |
Date: |
Sun, 22 Jul 2018 16:55:22 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit e25ddef5bd15d532c52a4f868c22c6cea601b16c
Author: Pierre Neidhardt <address@hidden>
Date: Fri Jun 22 17:42:02 2018 +0200
gnu: Add go-github-com-aarzilli-golua.
* gnu/packages/golang.scm (go-github-com-aarzilli-golua): New variable.
---
gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 26fdc9d..9bcf1c7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -42,6 +42,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))
@@ -2061,3 +2062,47 @@ 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:expat))))
+
+(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:expat))))
- branch master updated (e968542 -> 5703380), Pierre Neidhardt, 2018/07/22
- 07/13: gnu: Add go-gitlab-com-ambrevar-damerau., Pierre Neidhardt, 2018/07/22
- 06/13: gnu: Add go-github-com-yookoala-realpath., Pierre Neidhardt, 2018/07/22
- 01/13: gnu: Add go-github-com-mattn-go-isatty., Pierre Neidhardt, 2018/07/22
- 03/13: gnu: Add go-github-com-mgutz-ansi., Pierre Neidhardt, 2018/07/22
- 02/13: gnu: Add go-github-com-mattn-go-colorable., Pierre Neidhardt, 2018/07/22
- 08/13: gnu: Add go-github-com-stevedonovan-luar., Pierre Neidhardt, 2018/07/22
- 10/13: gnu: Add go-github-com-michiwend-golang-pretty., Pierre Neidhardt, 2018/07/22
- 13/13: gnu: Add demlo., Pierre Neidhardt, 2018/07/22
- 12/13: gnu: Add go-github-com-wtolson-go-taglib., Pierre Neidhardt, 2018/07/22
- 04/13: gnu: Add go-github-com-aarzilli-golua.,
Pierre Neidhardt <=
- 05/13: gnu: Add go-gitlab-com-ambrevar-golua-unicode., Pierre Neidhardt, 2018/07/22
- 09/13: gnu: Add go-github-com-kr-text., Pierre Neidhardt, 2018/07/22
- 11/13: gnu: Add go-github-com-michiwend-gomusicbrainz., Pierre Neidhardt, 2018/07/22