blob 9eb2035890db377a18b79176c5665b476f5c3358 1260 bytes (raw)
name: gnu/packages/lua-lpeg.scm # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| | (define-module (gnu packages lua-lpeg)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages lua))
(define-public lua-lpeg
(package
(name "lua-lpeg")
(version "1.0.0")
(source (origin
(method url-fetch)
(uri "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.0.tar.gz")
(sha256
(base32 "13mz18s359wlkwm9d9iqlyyrrwjc6iqfpa99ai0icam2b3khl68h"))))
(build-system gnu-build-system)
(arguments '(
#:make-flags '("LUADIR=/usr/include")
#:phases (modify-phases %standard-phases
(delete 'configure)
(replace 'install (lambda _
(let* ((out (assoc-ref %outputs "out")))
(install-file "lpeg.so" (string-append out "/usr/lib/lua/5.3"))
(install-file "re.lua" (string-append out "/usr/share/lua/5.3"))))))
#:tests? #f))
(inputs `(("lua", lua)))
(synopsis "Pattern-matching library for Lua")
(description (string-append
"LPeg is a pattern-matching library for Lua, based on Parsing Expression "
"Grammars (PEGs)."))
(home-page "http://www.inf.puc-rio.br/~roberto/lpeg")
(license expat)))
|
debug log:
solving 9eb2035 ...
found 9eb2035 in https://yhetil.org/guix-devel/61a19eb41fa4eb66339c14519f0bcefd@openmailbox.org/
applying [1/1] https://yhetil.org/guix-devel/61a19eb41fa4eb66339c14519f0bcefd@openmailbox.org/
diff --git a/gnu/packages/lua-lpeg.scm b/gnu/packages/lua-lpeg.scm
new file mode 100644
index 0000000..9eb2035
Checking patch gnu/packages/lua-lpeg.scm...
Applied patch gnu/packages/lua-lpeg.scm cleanly.
index at:
100644 9eb2035890db377a18b79176c5665b476f5c3358 gnu/packages/lua-lpeg.scm
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
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).