mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
46 lines
1014 B
Nix
46 lines
1014 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, nghttp2
|
|
, openssl
|
|
, boost
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libnghttp2_asio";
|
|
version = "unstable-2022-08-11";
|
|
|
|
outputs = [ "out" "dev" "doc" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nghttp2";
|
|
repo = "nghttp2-asio";
|
|
rev = "e877868abe06a83ed0a6ac6e245c07f6f20866b5";
|
|
hash = "sha256-XQXRHLz0kvaIQq1nbqkJnETHR51FXMB1P9F/hQeZh6A=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
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 ];
|
|
};
|
|
}
|