diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2016-08-22 21:32:42 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2016-08-28 12:41:27 +0200 |
| commit | 182de8fcdd9863bedff51e34bb384f68e55029c8 (patch) | |
| tree | dc04324e8492203c4bb9422d44e6a1182e08ddaf /gnu/packages | |
| parent | c21b826127bb9c21cf6e51561dc94cec1533ba95 (diff) | |
gnu: Add lua5.1-filesystem.
* gnu/packages/lua.scm (lua5.1-filesystem): New variable.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/lua.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 7feeee33f90..cfa5d2b876b 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm | |||
| @@ -191,3 +191,34 @@ that the MIME (common encodings), URL (anything you could possible want to do | |||
| 191 | with one) and LTN12 (filters, sinks, sources and pumps) modules can be very | 191 | with one) and LTN12 (filters, sinks, sources and pumps) modules can be very |
| 192 | handy.") | 192 | handy.") |
| 193 | (license (package-license lua-5.1)))) | 193 | (license (package-license lua-5.1)))) |
| 194 | |||
| 195 | (define-public lua5.1-filesystem | ||
| 196 | (package | ||
| 197 | (name "lua5.1-filesystem") | ||
| 198 | (version "1.6.3") | ||
| 199 | (source (origin | ||
| 200 | (method url-fetch) | ||
| 201 | (uri (string-append "https://github.com/keplerproject/" | ||
| 202 | "luafilesystem/archive/v_" | ||
| 203 | "1_6_3" ".tar.gz")) | ||
| 204 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 205 | (sha256 | ||
| 206 | (base32 | ||
| 207 | "0s10ckxin0bysd6gaywqhxkpw3ybjhprr8m655b8cx3pxjwd49am")))) | ||
| 208 | (build-system gnu-build-system) | ||
| 209 | (arguments | ||
| 210 | `(#:make-flags | ||
| 211 | (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | ||
| 212 | #:test-target "test" | ||
| 213 | #:phases | ||
| 214 | (modify-phases %standard-phases | ||
| 215 | (delete 'configure)))) | ||
| 216 | (inputs | ||
| 217 | `(("lua" ,lua-5.1))) | ||
| 218 | (home-page "https://keplerproject.github.io/luafilesystem/index.html") | ||
| 219 | (synopsis "File system library for Lua") | ||
| 220 | (description "LuaFileSystem is a Lua library developed to complement the | ||
| 221 | set of functions related to file systems offered by the standard Lua | ||
| 222 | distribution. LuaFileSystem offers a portable way to access the underlying | ||
| 223 | directory structure and file attributes.") | ||
| 224 | (license (package-license lua-5.1)))) | ||
