From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 5/7] gnu: Add lua5.1-filesystem. Date: Mon, 22 Aug 2016 21:39:16 +0200 Message-ID: <20160822193918.27397-6-rekado@elephly.net> References: <20160822193918.27397-1-rekado@elephly.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbv4b-0008EU-O0 for guix-devel@gnu.org; Mon, 22 Aug 2016 15:39:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbv4V-0008J0-Vy for guix-devel@gnu.org; Mon, 22 Aug 2016 15:39:52 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:24107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbv4V-0008Ip-Ne for guix-devel@gnu.org; Mon, 22 Aug 2016 15:39:47 -0400 In-Reply-To: <20160822193918.27397-1-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/lua.scm (lua5.1-filesystem): New variable. --- gnu/packages/lua.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 85c2727..a8acadb 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 with one) and LTN12 (filters, sinks, sources and pumps) modules can be very handy.") (license (package-license lua-5.1)))) + +(define-public lua5.1-filesystem + (package + (name "lua-filesystem") + (version "1.6.3") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/keplerproject/" + "luafilesystem/archive/v_" + "1_6_3" ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s10ckxin0bysd6gaywqhxkpw3ybjhprr8m655b8cx3pxjwd49am")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:test-target "test" + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("lua" ,lua-5.1))) + (home-page "https://keplerproject.github.io/luafilesystem/index.html") + (synopsis "File system library for Lua") + (description "LuaFileSystem is a Lua library developed to complement the +set of functions related to file systems offered by the standard Lua +distribution. LuaFileSystem offers a portable way to access the underlying +directory structure and file attributes.") + (license (package-license lua-5.1)))) -- 2.9.2