diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2019-03-04 12:36:23 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2019-03-04 20:34:07 +0100 |
commit | 3e442fd0f9036fa5cbee829f927e73f91dcdf337 (patch) | |
tree | 31c03409bf75075a8f9a3d0fc3d5ec13857f64f2 /pkgs/top-level/lua-packages.nix | |
parent | 7bf432308210408108b99db0def6e834856cb649 (diff) |
Revert "luaPackages.cqueues: move to generated"
This reverts commit c01fe375ca192395af8ae8c575ff8eaa79ed03d8.
See the reverted commit on GitHub for discussion. /cc PR #55305.
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r-- | pkgs/top-level/lua-packages.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index ed0b919fd690..2899e91ceb63 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -167,6 +167,29 @@ with self; { }; }; + cqueues = buildLuaPackage rec { + name = "cqueues-${version}"; + version = "20171014"; + + src = fetchurl { + url = "https://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; + }; + }; + http = buildLuaPackage rec { version = "0.2"; name = "http-${version}"; |