tengine: 2.3.1 -> 2.3.2 (#70574)
* tengine: 2.3.1 -> 2.3.2 Changelog: https://github.com/alibaba/tengine/releases/tag/2.3.2 * tengine: unbreak
This commit is contained in:
parent
1d651d1340
commit
86df0e335c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, openssl, zlib, pcre, libxml2, libxslt
|
{ stdenv, fetchFromGitHub, openssl, zlib, pcre, libxml2, libxslt
|
||||||
, gd, geoip, gperftools, jemalloc
|
, gd, geoip, gperftools, jemalloc
|
||||||
, withDebug ? false
|
, withDebug ? false
|
||||||
, withMail ? false
|
, withMail ? false
|
||||||
@ -10,12 +10,14 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.3.1";
|
version = "2.3.2";
|
||||||
pname = "tengine";
|
pname = "tengine";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/alibaba/tengine/archive/${version}.tar.gz";
|
owner = "alibaba";
|
||||||
sha256 = "075blm2d62a0bdixc3vngrxpgr7ngl1s4y8hm20pbvc07f0kzn9x";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "04xfnbc0qlk8vi6bb8sl38nxnx9naxh550xsgrb4hql6jdi0wv7l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -84,6 +86,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [
|
NIX_CFLAGS_COMPILE = [
|
||||||
"-I${libxml2.dev}/include/libxml2"
|
"-I${libxml2.dev}/include/libxml2"
|
||||||
|
"-Wno-error=implicit-fallthrough"
|
||||||
] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations";
|
] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations";
|
||||||
|
|
||||||
preConfigure = (concatMapStringsSep "\n" (mod: mod.preConfigure or "") modules);
|
preConfigure = (concatMapStringsSep "\n" (mod: mod.preConfigure or "") modules);
|
||||||
@ -102,6 +105,5 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ izorkin ];
|
maintainers = with maintainers; [ izorkin ];
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user