depot/third_party/nixpkgs/pkgs/servers/http/h2o/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
754 B
Nix

{ stdenv, fetchFromGitHub
, pkgconfig, cmake, ninja
, openssl, libuv, zlib
}:
stdenv.mkDerivation rec {
pname = "h2o";
version = "2.3.0-beta2";
src = fetchFromGitHub {
owner = "h2o";
repo = "h2o";
rev = "refs/tags/v${version}";
sha256 = "0lwg5sfsr7fw7cfy0hrhadgixm35b5cgcvlhwhbk89j72y1bqi6n";
};
outputs = [ "out" "man" "dev" "lib" ];
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig cmake ninja ];
buildInputs = [ openssl libuv zlib ];
meta = with stdenv.lib; {
description = "Optimized HTTP/1 and HTTP/2 server";
homepage = "https://h2o.examp1e.net";
license = licenses.mit;
maintainers = with maintainers; [ thoughtpolice ];
platforms = platforms.linux;
};
}