patch seafile-server to work with recent libevhtp
based on patchset from https://github.com/haiwen/seafile-server/pull/119 and adapted to recent seafile-server version
This commit is contained in:
parent
518d4fd1c2
commit
990d57ca20
3 changed files with 186 additions and 18 deletions
|
|
@ -6,22 +6,25 @@
|
|||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libevhtp";
|
||||
version = "1.2.15";
|
||||
version = "1.2.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ellzey";
|
||||
owner = "criticalstack";
|
||||
repo = "libevhtp";
|
||||
rev = version;
|
||||
sha256 = "01c4l77arph8qyrhak4ik6kf60wb5msymqmfl4w7gzmgns2n0p89";
|
||||
sha256 = "sha256:085yzrawn0gkfgiz02vwmlhawyaba4yqx98q3y4p95fhzs5wqwcb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libevent openssl pth oniguruma ];
|
||||
buildInputs = [ libevent pth openssl ];
|
||||
propagatedBuildInputs = [ oniguruma ];
|
||||
cmakeFlags = [ "-DEVHTP_DISABLE_SSL=OFF" "-DEVHTP_BUILD_SHARED=ON" ];
|
||||
|
||||
meta = {
|
||||
description = "Create extremely-fast and secure embedded HTTP servers with ease.";
|
||||
homepage = "https://github.com/ellzey/libevhtp";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ schmittlauch ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue