Revert "luaPackages.cqueues: move to generated"
This reverts commit c01fe375ca192395af8ae8c575ff8eaa79ed03d8. See the reverted commit on GitHub for discussion. /cc PR #55305.
This commit is contained in:
parent
7bf4323082
commit
3e442fd0f9
@ -1,7 +1,6 @@
|
|||||||
ansicolors,
|
ansicolors,
|
||||||
argparse,
|
argparse,
|
||||||
basexx,
|
basexx,
|
||||||
cqueues
|
|
||||||
dkjson
|
dkjson
|
||||||
fifo
|
fifo
|
||||||
inspect
|
inspect
|
||||||
|
|
@ -70,26 +70,6 @@ basexx = buildLuarocksPackage {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
cqueues = buildLuarocksPackage {
|
|
||||||
pname = "cqueues";
|
|
||||||
version = "20171014.52-0";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = https://luarocks.org/cqueues-20171014.52-0.src.rock;
|
|
||||||
sha256 = "0q3iy1ja20nq2sn2n6badzhjq5kni86pfc09n5g2c46q9ja3vfzx";
|
|
||||||
};
|
|
||||||
disabled = ( lua.luaversion != "5.2");
|
|
||||||
propagatedBuildInputs = [lua ];
|
|
||||||
buildType="make";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "http://25thandclement.com/~william/projects/cqueues.html";
|
|
||||||
description="Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.";
|
|
||||||
license = {
|
|
||||||
fullName = "MIT/X11";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
dkjson = buildLuarocksPackage {
|
dkjson = buildLuarocksPackage {
|
||||||
pname = "dkjson";
|
pname = "dkjson";
|
||||||
version = "2.5-2";
|
version = "2.5-2";
|
||||||
|
@ -5,19 +5,6 @@ with super;
|
|||||||
##########################################3
|
##########################################3
|
||||||
#### manual fixes for generated packages
|
#### manual fixes for generated packages
|
||||||
##########################################3
|
##########################################3
|
||||||
cqueues = super.cqueues.override({
|
|
||||||
nativeBuildInputs = [ pkgs.gnum4 ];
|
|
||||||
buildInputs = [ pkgs.openssl ];
|
|
||||||
extraConfig = with pkgs; ''
|
|
||||||
variables={
|
|
||||||
CRYPTO_INCDIR="${openssl.dev}/include";
|
|
||||||
CRYPTO_LIBDIR="${openssl.out}/lib";
|
|
||||||
OPENSSL_INCDIR="${openssl.dev}/include";
|
|
||||||
OPENSSL_LIBDIR="${openssl.out}/lib";
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
|
|
||||||
lgi = super.lgi.overrideAttrs(oa: {
|
lgi = super.lgi.overrideAttrs(oa: {
|
||||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||||
buildInputs = with pkgs; oa.buildInputs ++ [ glib gobjectIntrospection];
|
buildInputs = with pkgs; oa.buildInputs ++ [ glib gobjectIntrospection];
|
||||||
|
@ -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 {
|
http = buildLuaPackage rec {
|
||||||
version = "0.2";
|
version = "0.2";
|
||||||
name = "http-${version}";
|
name = "http-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user