Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / sioclient / default.nix
blob2a4cd3c8e91ce9e8a57704377bb0f86187892fe1
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 , asio
6 , rapidjson
7 , websocketpp
8 }:
10 stdenv.mkDerivation {
11   pname = "sioclient";
12   version = "unstable-2023-02-13";
14   src = fetchFromGitHub {
15     owner = "socketio";
16     repo = "socket.io-client-cpp";
17     rev = "b10474e3eaa6b27e75dbc1382ac9af74fdf3fa85";
18     hash = "sha256-bkuFA6AvZvBpnO6Lixqx8Ux5Dy5NHWGB2y1VF7allC0=";
19   };
21   nativeBuildInputs = [
22     cmake
23   ];
25   buildInputs = [
26     asio
27     rapidjson
28     websocketpp
29   ];
31   meta = with lib; {
32     description = "C++11 implementation of Socket.IO client";
33     homepage = "https://github.com/socketio/socket.io-client-cpp";
34     license = licenses.mit;
35     maintainers = with maintainers; [ wegank ];
36     platforms = platforms.unix;
37   };