nixpkgs/pkgs/development/libraries/websocket++/default.nix
2022-08-13 18:29:17 +02:00

24 lines
586 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "websocket++";
version = "0.8.2";
src = fetchFromGitHub {
owner = "zaphoyd";
repo = "websocketpp";
rev = version;
sha256 = "sha256-9fIwouthv2GcmBe/UPvV7Xn9P2o0Kmn2hCI4jCh0hPM=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://www.zaphoyd.com/websocketpp/";
description = "C++/Boost Asio based websocket client/server library";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ revol-xut ];
};
}