nixpkgs/pkgs/servers/http/h2o/default.nix
R. RyanTM d277e4fbce h2o: 2.2.4 -> 2.2.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/h2o/versions.

These checks were done:

- built on NixOS
- /nix/store/dwz174x5lsj14gm3a89rhpw2mb4wciap-h2o-2.2.5/bin/h2o passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 2.2.5 with grep in /nix/store/dwz174x5lsj14gm3a89rhpw2mb4wciap-h2o-2.2.5
- directory tree listing: https://gist.github.com/b8176825df6a9bbef22331d62ac7208c
- du listing: https://gist.github.com/4c5ecd9f4cd736d08daeeab72549037e
2018-06-06 14:39:47 -05:00

31 lines
735 B
Nix

{ stdenv, fetchFromGitHub
, pkgconfig, cmake
, libressl_2_6, libuv, zlib
}:
with builtins;
stdenv.mkDerivation rec {
name = "h2o-${version}";
version = "2.2.5";
src = fetchFromGitHub {
owner = "h2o";
repo = "h2o";
rev = "refs/tags/v${version}";
sha256 = "0jyvbp6cjiirj44nxqa2fi5y473gnc8awfn8zv82hb1y9rlxqfyv";
};
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ libressl_2_6 libuv zlib ];
enableParallelBuilding = true;
meta = {
description = "Optimized HTTP/1 and HTTP/2 server";
homepage = https://h2o.examp1e.net;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
platforms = stdenv.lib.platforms.linux;
};
}