nixpkgs/pkgs/by-name/si/sioclient/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
744 B
Nix
Raw Normal View History

2023-06-06 12:07:21 +03:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, asio
, rapidjson
, websocketpp
}:
stdenv.mkDerivation {
pname = "sioclient";
version = "3.1.0-unstable-2023-11-10";
2023-06-06 12:07:21 +03:00
src = fetchFromGitHub {
owner = "socketio";
repo = "socket.io-client-cpp";
rev = "0dc2f7afea17a0e5bfb5e9b1e6d6f26ab1455cef";
hash = "sha256-iUKWDv/CS2e68cCSM0QUobkfz2A8ZjJ7S0zw7rowQJ0=";
2023-06-06 12:07:21 +03:00
};
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;
};
}