1{ lib, stdenv, fetchFromGitHub, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "websocket++";
5 version = "0.8.2";
6
7 src = fetchFromGitHub {
8 owner = "zaphoyd";
9 repo = "websocketpp";
10 rev = version;
11 sha256 = "sha256-9fIwouthv2GcmBe/UPvV7Xn9P2o0Kmn2hCI4jCh0hPM=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 meta = with lib; {
17 homepage = "https://www.zaphoyd.com/websocketpp/";
18 description = "C++/Boost Asio based websocket client/server library";
19 license = licenses.bsd3;
20 platforms = platforms.unix;
21 maintainers = with maintainers; [ revol-xut ];
22 };
23}