7 stdenv.mkDerivation (finalAttrs: {
10 src = fetchFromGitHub {
13 rev = "v${finalAttrs.version}";
14 hash = "sha256-7QHZRudxq3hdsfEAYKKJydc4rv6lyN6UIt/2Zmaejx8=";
17 nativeBuildInputs = [ cmake lua ];
20 "-DSOL2_LUA_VERSION=${lua.version}"
21 "-DSOL2_BUILD_LUA=FALSE"
25 description = "Lua API wrapper with advanced features and top notch performance";
27 sol2 is a C++ library binding to Lua.
28 It currently supports all Lua versions 5.1+ (LuaJIT 2.0+ and MoonJIT included).
29 sol2 aims to be easy to use and easy to add to a project.
30 The library is header-only for easy integration with projects, and a single header can be used for drag-and-drop start up.
32 homepage = "https://github.com/ThePhD/sol2";
33 license = licenses.mit;
34 maintainers = with maintainers; [ mrcjkb ];