diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-02-20 12:16:56 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-02-20 12:16:56 +0100 |
commit | b24d64b3b1ef897f07cd072a88a9881cb330aa7f (patch) | |
tree | a87bb2eed9af3ef1efd51dd65221d91f0c949041 /nixpkgs/pkgs/by-name/li/libnghttp2_asio/package.nix | |
parent | 73338df7473bb3810e70a16b8b0cba4f0f606f2b (diff) | |
parent | fa15b53dbea5028db38d6e09b4cef6eba42aeebb (diff) | |
download | nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.gz nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.bz2 nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.lz nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.xz nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.zst nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/by-name/li/libnghttp2_asio/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/li/libnghttp2_asio/package.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/li/libnghttp2_asio/package.nix b/nixpkgs/pkgs/by-name/li/libnghttp2_asio/package.nix new file mode 100644 index 000000000000..7d286b2ffcb5 --- /dev/null +++ b/nixpkgs/pkgs/by-name/li/libnghttp2_asio/package.nix @@ -0,0 +1,45 @@ +{ 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"; + sha256 = "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 ]; + }; +} |