Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 23 lines 587 B view raw
1{ stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 name = "websocket++-${version}"; 5 version = "0.8.1"; 6 7 src = fetchFromGitHub { 8 owner = "zaphoyd"; 9 repo = "websocketpp"; 10 rev = version; 11 sha256 = "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy"; 12 }; 13 14 buildInputs = [ cmake ]; 15 16 meta = with stdenv.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}