Merge pull request #245868 from Izorkin/init-nghttp2-asio

libnghttp2_asio: init at unstable 2022-08-11

authored by Sandro and committed by GitHub 55725130 13ae1f39

+45
+45
pkgs/by-name/li/libnghttp2_asio/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , nghttp2 6 + , openssl 7 + , boost 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "libnghttp2_asio"; 12 + version = "unstable-2022-08-11"; 13 + 14 + outputs = [ "out" "dev" "doc" ]; 15 + 16 + src = fetchFromGitHub { 17 + owner = "nghttp2"; 18 + repo = "nghttp2-asio"; 19 + rev = "e877868abe06a83ed0a6ac6e245c07f6f20866b5"; 20 + sha256 = "sha256-XQXRHLz0kvaIQq1nbqkJnETHR51FXMB1P9F/hQeZh6A="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + cmake 25 + ]; 26 + 27 + buildInputs = [ 28 + boost 29 + nghttp2 30 + openssl 31 + ]; 32 + 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 + }; 45 + }