Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 23 lines 583 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "websocket++"; 5 version = "0.8.1"; 6 7 src = fetchFromGitHub { 8 owner = "zaphoyd"; 9 repo = "websocketpp"; 10 rev = version; 11 sha256 = "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 homepage = "https://www.zaphoyd.com/websocketpp/"; 18 description = "C++/Boost Asio based websocket client/server library"; 19 license = licenses.bsd3; 20 platforms = platforms.unix; 21 maintainers = with maintainers; [ andir ]; 22 }; 23}