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

24 lines
583 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "websocket++";
2019-01-09 21:27:48 +00:00
version = "0.8.1";
src = fetchFromGitHub {
owner = "zaphoyd";
repo = "websocketpp";
rev = version;
2019-01-09 21:27:48 +00:00
sha256 = "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy";
};
nativeBuildInputs = [ cmake ];
meta = with 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 ];
};
}