base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / libnghttp2_asio / package.nix
blob7853e89d27de84c3d791b26dc21f59577d80b339
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 , nghttp2
6 , openssl
7 , boost
8 }:
10 stdenv.mkDerivation rec {
11   pname = "libnghttp2_asio";
12   version = "unstable-2022-08-11";
14   outputs = [ "out" "dev" "doc" ];
16   src = fetchFromGitHub {
17     owner = "nghttp2";
18     repo = "nghttp2-asio";
19     rev = "e877868abe06a83ed0a6ac6e245c07f6f20866b5";
20     hash = "sha256-XQXRHLz0kvaIQq1nbqkJnETHR51FXMB1P9F/hQeZh6A=";
21   };
23   nativeBuildInputs = [
24     cmake
25   ];
27   buildInputs = [
28     boost
29     nghttp2
30     openssl
31   ];
33   meta = with lib; {
34     description = "High level HTTP/2 C++ library";
35     longDescription = ''
36       libnghttp2_asio is C++ library built on top of libnghttp2
37       and provides high level abstraction API to build HTTP/2
38       applications. It depends on the Boost::ASIO library and
39       OpenSSL. libnghttp2_asio provides both client and server APIs.
40     '';
41     homepage = "https://github.com/nghttp2/nghttp2-asio";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ izorkin ];
44   };