nixpkgs/pkgs/development/libraries/websocket++/default.nix

24 lines
587 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "websocket++-${version}";
2017-10-31 18:18:26 +00:00
version = "0.7.0";
src = fetchFromGitHub {
owner = "zaphoyd";
repo = "websocketpp";
rev = version;
2017-10-31 18:18:26 +00:00
sha256 = "1i64sps52kvy8yffysjbmmbb109pi28kqai0qdxxz1dcj3xfckqd";
};
buildInputs = [ cmake ];
2017-10-31 18:18:26 +00:00
meta = with stdenv.lib; {
homepage = https://www.zaphoyd.com/websocketpp/;
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 ];
};
}