2014-11-17 00:35:41 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "websocket++-${version}";
|
2017-10-31 18:18:26 +00:00
|
|
|
version = "0.7.0";
|
2014-11-17 00:35:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zaphoyd";
|
|
|
|
repo = "websocketpp";
|
|
|
|
rev = version;
|
2017-10-31 18:18:26 +00:00
|
|
|
sha256 = "1i64sps52kvy8yffysjbmmbb109pi28kqai0qdxxz1dcj3xfckqd";
|
2014-11-17 00:35:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
2017-10-31 18:18:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://www.zaphoyd.com/websocketpp/;
|
2014-11-17 00:35:41 +00:00
|
|
|
description = "C++/Boost Asio based websocket client/server library";
|
2017-10-31 18:18:26 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ andir ];
|
2014-11-17 00:35:41 +00:00
|
|
|
};
|
|
|
|
}
|