mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #29742 from richardipsum/init-luxio
luxio: init at 13
This commit is contained in:
commit
96d3ff6759
@ -497,6 +497,7 @@
|
||||
renzo = "Renzo Carbonara <renzocarbonara@gmail.com>";
|
||||
retrry = "Tadas Barzdžius <retrry@gmail.com>";
|
||||
rht = "rht <rhtbot@protonmail.com>";
|
||||
richardipsum = "Richard Ipsum <richardipsum@fastmail.co.uk>";
|
||||
rick68 = "Wei-Ming Yang <rick68@gmail.com>";
|
||||
rickynils = "Rickard Nilsson <rickynils@gmail.com>";
|
||||
ris = "Robert Scott <code@humanleg.org.uk>";
|
||||
|
@ -8,7 +8,7 @@
|
||||
{ fetchurl, fetchzip, stdenv, lua, callPackage, unzip, zziplib, pkgconfig, libtool
|
||||
, pcre, oniguruma, gnulib, tre, glibc, sqlite, openssl, expat, cairo
|
||||
, perl, gtk2, python, glib, gobjectIntrospection, libevent, zlib, autoreconfHook
|
||||
, fetchFromGitHub, libmpack
|
||||
, fetchFromGitHub, libmpack, which
|
||||
}:
|
||||
|
||||
let
|
||||
@ -270,6 +270,33 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
luxio = buildLuaPackage rec {
|
||||
name = "luxio-${version}";
|
||||
version = "13";
|
||||
src = fetchurl {
|
||||
url = "https://git.gitano.org.uk/luxio.git/snapshot/luxio-luxio-13.tar.bz2";
|
||||
sha256 = "1hvwslc25q7k82rxk461zr1a2041nxg7sn3sw3w0y5jxf0giz2pz";
|
||||
};
|
||||
nativeBuildInputs = [ which pkgconfig ];
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
description = "Lightweight UNIX I/O and POSIX binding for Lua";
|
||||
maintainers = [ maintainers.richardipsum ];
|
||||
};
|
||||
preBuild = ''
|
||||
makeFlagsArray=(
|
||||
INST_LIBDIR="$out/lib/lua/${lua.luaversion}"
|
||||
INST_LUADIR="$out/share/lua/${lua.luaversion}"
|
||||
LUA_BINDIR="$out/bin"
|
||||
INSTALL=install
|
||||
);
|
||||
'';
|
||||
};
|
||||
|
||||
luazip = buildLuaPackage rec {
|
||||
name = "zip-${version}";
|
||||
version = "1.2.3";
|
||||
|
Loading…
Reference in New Issue
Block a user