at 23.11-beta 32 lines 726 B view raw
1{ lib, stdenv, fetchFromGitHub, lua, boost, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "luabind"; 5 version = "0.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "Oberon00"; 9 repo = "luabind"; 10 rev = "49814f6b47ed99e273edc5198a6ebd7fa19e813a"; 11 sha256 = "sha256-JcOsoQHRvdzF2rsZBW6egOwIy7+7C4wy0LiYmbV590Q"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 buildInputs = [ boost ]; 17 18 propagatedBuildInputs = [ lua ]; 19 20 passthru = { 21 inherit lua; 22 }; 23 24 patches = [./0.9.1-discover-luajit.patch]; 25 26 meta = { 27 homepage = "https://github.com/Oberon00/luabind"; 28 description = "A library that helps you create bindings between C++ and Lua"; 29 license = lib.licenses.mit; 30 platforms = lib.platforms.unix; 31 }; 32}