@@ -0,0 +1,30 @@
1+{ stdenv, fetchFromGitHub
2+, pkgconfig, cmake
3+, libressl_2_6, libuv, zlib
4+}:
5+
6+with builtins;
7+
8+stdenv.mkDerivation rec {
9+ name = "h2o-${version}";
10+ version = "2.2.4";
11+
12+ src = fetchFromGitHub {
13+ owner = "h2o";
14+ repo = "h2o";
15+ rev = "refs/tags/v${version}";
16+ sha256 = "0176x0bzjry19zs074a9i5vhncc842xikmx43wj61jky318nq4w4";
17+ };
18+
19+ nativeBuildInputs = [ pkgconfig cmake ];
20+ buildInputs = [ libressl_2_6 libuv zlib ];
21+ enableParallelBuilding = true;
22+
23+ meta = {
24+ description = "Optimized HTTP/1 and HTTP/2 server";
25+ homepage = https://h2o.examp1e.net;
26+ license = stdenv.lib.licenses.mit;
27+ maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
28+ platforms = stdenv.lib.platforms.linux;
29+ };
30+}