3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #3138 from flosse/lua5-expat

added luaexpat 1.3.0
This commit is contained in:
Oliver Charles 2014-07-01 08:47:39 +01:00
commit 2480f2465c
3 changed files with 28 additions and 0 deletions

View file

@ -38,6 +38,7 @@
emery = "Emery Hemingway <emery@vfemail.net>"; emery = "Emery Hemingway <emery@vfemail.net>";
ertes = "Ertugrul Söylemez <ertesx@gmx.de>"; ertes = "Ertugrul Söylemez <ertesx@gmx.de>";
falsifian = "James Cook <james.cook@utoronto.ca>"; falsifian = "James Cook <james.cook@utoronto.ca>";
flosse = "Markus Kohlhase <mail@markus-kohlhase.de>";
fuuzetsu = "Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>"; fuuzetsu = "Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>";
garbas = "Rok Garbas <rok@garbas.si>"; garbas = "Rok Garbas <rok@garbas.si>";
goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>"; goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";

View file

@ -0,0 +1,26 @@
{ stdenv, fetchurl, lua5, expat }:
stdenv.mkDerivation rec {
version = "1.3.0";
name = "lua-expat-${version}";
isLibrary = true;
src = fetchurl {
url = "https://matthewwild.co.uk/projects/luaexpat/luaexpat-${version}.tar.gz";
sha256 = "1hvxqngn0wf5642i5p3vcyhg3pmp102k63s9ry4jqyyqc1wkjq6h";
};
buildInputs = [ lua5 expat ];
preBuild = ''
makeFlagsArray=(
LUA_LDIR="$out/share/lua/${lua5.luaversion}"
LUA_INC="-I${lua5}/include" LUA_CDIR="$out/lib/lua/${lua5.luaversion}"
EXPAT_INC="-I${expat}/include");
'';
meta = {
homepage = "http://matthewwild.co.uk/projects/luaexpat";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.flosse ];
};
}

View file

@ -3464,6 +3464,7 @@ let
lua5 = lua5_1; lua5 = lua5_1;
lua5_sockets = callPackage ../development/interpreters/lua-5/sockets.nix {}; lua5_sockets = callPackage ../development/interpreters/lua-5/sockets.nix {};
lua5_expat = callPackage ../development/interpreters/lua-5/expat.nix {};
luarocks = callPackage ../development/tools/misc/luarocks { luarocks = callPackage ../development/tools/misc/luarocks {
lua = lua5; lua = lua5;