lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 34 lines 867 B view raw
1{ lib, stdenv, fetchFromGitHub, boost-build, lua, boost }: 2 3stdenv.mkDerivation rec { 4 pname = "luabind"; 5 version = "0.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "luabind"; 9 repo = "luabind"; 10 rev = "v${version}"; 11 sha256 = "sha256-sK1ca2Oj9yXdmxyXeDO3k8YZ1g+HxIXLhvdTWdPDdag="; 12 }; 13 14 patches = [ ./0.9.1_modern_boost_fix.patch ./0.9.1_boost_1.57_fix.patch ./0.9.1_discover_luajit.patch ]; 15 16 buildInputs = [ boost-build lua boost ]; 17 18 propagatedBuildInputs = [ lua ]; 19 20 buildPhase = "LUA_PATH=${lua} bjam release"; 21 22 installPhase = "LUA_PATH=${lua} bjam --prefix=$out release install"; 23 24 passthru = { 25 inherit lua; 26 }; 27 28 meta = { 29 homepage = "https://github.com/luabind/luabind"; 30 description = "A library that helps you create bindings between C++ and Lua"; 31 license = lib.licenses.mit; 32 platforms = lib.platforms.linux; 33 }; 34}