3
0
Fork 0
forked from mirrors/nixpkgs

sioclient: init at unstable-2023-02-13

This commit is contained in:
Weijia Wang 2023-06-06 12:07:21 +03:00
parent b0182ee0d9
commit 18c1740930
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, asio
, rapidjson
, websocketpp
}:
stdenv.mkDerivation {
pname = "sioclient";
version = "unstable-2023-02-13";
src = fetchFromGitHub {
owner = "socketio";
repo = "socket.io-client-cpp";
rev = "b10474e3eaa6b27e75dbc1382ac9af74fdf3fa85";
hash = "sha256-bkuFA6AvZvBpnO6Lixqx8Ux5Dy5NHWGB2y1VF7allC0=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
asio
rapidjson
websocketpp
];
meta = with lib; {
description = "C++11 implementation of Socket.IO client";
homepage = "https://github.com/socketio/socket.io-client-cpp";
license = licenses.mit;
maintainers = with maintainers; [ wegank ];
platforms = platforms.unix;
};
}

View file

@ -24076,6 +24076,8 @@ with pkgs;
simpleitk = callPackage ../development/libraries/simpleitk { lua = lua5_3; };
sioclient = callPackage ../development/libraries/sioclient { };
sfml = callPackage ../development/libraries/sfml {
inherit (darwin.apple_sdk.frameworks) IOKit Foundation AppKit OpenAL;
};