Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
nghttp2,
|
|
openssl,
|
|
boost186,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "libnghttp2_asio";
|
|
version = "0-unstable-2022-08-11";
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
"doc"
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nghttp2";
|
|
repo = "nghttp2-asio";
|
|
rev = "e877868abe06a83ed0a6ac6e245c07f6f20866b5";
|
|
hash = "sha256-XQXRHLz0kvaIQq1nbqkJnETHR51FXMB1P9F/hQeZh6A=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
boost186
|
|
nghttp2
|
|
openssl
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "High level HTTP/2 C++ library";
|
|
longDescription = ''
|
|
libnghttp2_asio is C++ library built on top of libnghttp2
|
|
and provides high level abstraction API to build HTTP/2
|
|
applications. It depends on the Boost::ASIO library and
|
|
OpenSSL. libnghttp2_asio provides both client and server APIs.
|
|
'';
|
|
homepage = "https://github.com/nghttp2/nghttp2-asio";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ izorkin ];
|
|
};
|
|
}
|