1 { lib, stdenv, fetchFromGitHub, cmake, python3, zlib, catch2 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-b1KNHuS5ndkBWItKVTiJ//Y+uKi1PcUk9624IILOusQ=";
15 cp ${catch2}/include/catch2/catch.hpp src/test/c/catch/catch2/catch.hpp
18 nativeBuildInputs = [ cmake ];
19 buildInputs = [ zlib python3 ];
24 homepage = "https://github.com/mattgodbolt/seasocks";
25 description = "Tiny embeddable C++ HTTP and WebSocket server";
26 license = licenses.bsd2;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ fredeb ];