summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-05-27 22:31:54 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-05-27 22:31:54 +0300
commite19ac2ab5f3602d93773eeda8670207364e19e5e (patch)
tree77ef28fd1b732e1b93c10753e7a8f52b8b5398ea
parentgnu: Delete icecat-vim-vixen. (diff)
downloadguix-wigust-e19ac2ab5f3602d93773eeda8670207364e19e5e.tar.gz
gnu: Add lua-resty-core.
* guix/wigust/packages/web.scm (lua-resty-core): New variable.
-rw-r--r--guix/wigust/packages/web.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/guix/wigust/packages/web.scm b/guix/wigust/packages/web.scm
index b2dde37..151a59e 100644
--- a/guix/wigust/packages/web.scm
+++ b/guix/wigust/packages/web.scm
@@ -81,3 +81,30 @@
(format #t "configure flags: ~s~%" flags)
(apply invoke "./configure" flags)
#t)))))))))
+
+(define-public lua-resty-core
+ (package
+ (name "lua-resty-core")
+ (version "0.1.17")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/openresty/lua-resty-core.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11fyli6yrg7b91nv9v2sbrc6y7z3h9lgf4lrrhcjk2bb906576a0"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (copy-recursively (string-append (assoc-ref %build-inputs "source")
+ "/lib/resty")
+ (string-append %output "/lib/lua/5.1")))))
+ (home-page "")
+ (synopsis "")
+ (description "")
+ (license #f)))