lol

libhv: init at 1.3.0

+38
+34
pkgs/development/libraries/libhv/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, curl, openssl, Security }: 2 + 3 + stdenv.mkDerivation (finalAttrs: { 4 + pname = "libhv"; 5 + version = "1.3.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "ithewei"; 9 + repo = "libhv"; 10 + rev = "v${finalAttrs.version}"; 11 + hash = "sha256-LMk8B/1EofcQcIF3kGmtPdM2s+/gN9ctcsybwTpf4Po="; 12 + }; 13 + 14 + nativeBuildInputs = [ cmake ]; 15 + 16 + buildInputs = [ curl openssl ] ++ lib.optional stdenv.isDarwin Security; 17 + 18 + cmakeFlags = [ 19 + "-DENABLE_UDS=ON" 20 + "-DWITH_MQTT=ON" 21 + "-DWITH_CURL=ON" 22 + "-DWITH_NGHTTP2=ON" 23 + "-DWITH_OPENSSL=ON" 24 + "-DWITH_KCP=ON" 25 + ]; 26 + 27 + meta = with lib; { 28 + description = "A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT client/server"; 29 + homepage = "https://github.com/ithewei/libhv"; 30 + license = licenses.bsd3; 31 + maintainers = with maintainers; [ sikmir ]; 32 + platforms = platforms.unix; 33 + }; 34 + })
+4
pkgs/top-level/all-packages.nix
··· 20400 20400 20401 20401 libhugetlbfs = callPackage ../development/libraries/libhugetlbfs { }; 20402 20402 20403 + libhv = callPackage ../development/libraries/libhv { 20404 + inherit (darwin.apple_sdk.frameworks) Security; 20405 + }; 20406 + 20403 20407 libhwy = callPackage ../development/libraries/libhwy { }; 20404 20408 20405 20409 libHX = callPackage ../development/libraries/libHX { };