mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 00:12:39 +03:00
22 lines
503 B
Nix
22 lines
503 B
Nix
|
{ stdenv, fetchFromGitHub, cmake }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "websocket++-${version}";
|
||
|
version = "0.4.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "zaphoyd";
|
||
|
repo = "websocketpp";
|
||
|
rev = version;
|
||
|
sha256 = "1n6j0dh3qpis0f7crd49a2nhxd5459h0blch408z3kwlasx2g0i5";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ cmake ];
|
||
|
|
||
|
meta = {
|
||
|
homepage = "http://www.zaphoyd.com/websocketpp/";
|
||
|
description = "C++/Boost Asio based websocket client/server library";
|
||
|
license = stdenv.lib.licenses.BSD3;
|
||
|
};
|
||
|
}
|