lua*Packages.fifo: init at 0.2

This commit is contained in:
Vladimír Čunát 2018-07-30 16:23:51 +02:00
parent 112021b166
commit 3a808133d3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -95,6 +95,32 @@ let
};
};
fifo = buildLuaPackage rec {
version = "0.2";
name = "fifo-${version}";
src = fetchFromGitHub {
owner = "daurnimator";
repo = "fifo.lua";
rev = version;
sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn";
};
buildPhase = ":";
installPhase = ''
mkdir -p "$out/lib/lua/${lua.luaversion}"
mv fifo.lua "$out/lib/lua/${lua.luaversion}/"
'';
meta = with stdenv.lib; {
description = "A lua library/'class' that implements a FIFO";
homepage = "https://github.com/daurnimator/fifo.lua";
license = licenses.mit;
maintainers = with maintainers; [ vcunat ];
platforms = platforms.all;
};
};
luabitop = buildLuaPackage rec {
version = "1.0.2";
name = "bitop-${version}";