diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-07-30 14:17:35 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-07-30 16:09:01 +0200 |
commit | 112021b166569e309bf40e964bde7b292451a5c6 (patch) | |
tree | 9bde01558fe0d5be27a7ba0f6204e78c9942f061 /pkgs/top-level/lua-packages.nix | |
parent | 1d83c4583b73737d81b9ec3577f27ab8ad4a19dd (diff) | |
download | nixpkgs-112021b166569e309bf40e964bde7b292451a5c6.tar nixpkgs-112021b166569e309bf40e964bde7b292451a5c6.tar.gz nixpkgs-112021b166569e309bf40e964bde7b292451a5c6.tar.bz2 nixpkgs-112021b166569e309bf40e964bde7b292451a5c6.tar.lz nixpkgs-112021b166569e309bf40e964bde7b292451a5c6.tar.xz nixpkgs-112021b166569e309bf40e964bde7b292451a5c6.tar.zst nixpkgs-112021b166569e309bf40e964bde7b292451a5c6.zip |
lua*Packages.cqueues: init at 20171014
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r-- | pkgs/top-level/lua-packages.nix | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index c7d4c18810f..9c7c99a763d 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -7,7 +7,7 @@ { fetchurl, stdenv, lua, callPackage, unzip, zziplib, pkgconfig , pcre, oniguruma, gnulib, tre, glibc, sqlite, openssl, expat -, glib, gobjectIntrospection, libevent, zlib, autoreconfHook +, glib, gobjectIntrospection, libevent, zlib, autoreconfHook, gnum4 , mysql, postgresql, cyrus_sasl , fetchFromGitHub, libmpack, which, fetchpatch, writeText }: @@ -72,6 +72,29 @@ let }; }; + cqueues = buildLuaPackage rec { + name = "cqueues-${version}"; + version = "20171014"; + + src = fetchurl { + url = "http://www.25thandclement.com/~william/projects/releases/${name}.tgz"; + sha256 = "1dabhpn6r0hlln8vx9hxm34pfcm46qzgpb2apmziwg5z51fi4ksb"; + }; + + preConfigure = ''export prefix=$out''; + + nativeBuildInputs = [ gnum4 ]; + buildInputs = [ openssl ]; + + meta = with stdenv.lib; { + description = "A type of event loop for Lua"; + homepage = "https://www.25thandclement.com/~william/projects/cqueues.html"; + license = licenses.mit; + maintainers = with maintainers; [ vcunat ]; + platforms = platforms.unix; + }; + }; + luabitop = buildLuaPackage rec { version = "1.0.2"; name = "bitop-${version}"; |