2023-04-29 16:46:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, lua, boost, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "luabind";
|
|
|
|
version = "0.9.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
src = fetchFromGitHub {
|
2023-04-29 16:46:19 +00:00
|
|
|
owner = "Oberon00";
|
2021-12-06 16:07:01 +00:00
|
|
|
repo = "luabind";
|
2023-04-29 16:46:19 +00:00
|
|
|
rev = "49814f6b47ed99e273edc5198a6ebd7fa19e813a";
|
|
|
|
sha256 = "sha256-JcOsoQHRvdzF2rsZBW6egOwIy7+7C4wy0LiYmbV590Q";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
buildInputs = [ boost ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ lua ];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
inherit lua;
|
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
patches = [./0.9.1-discover-luajit.patch];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://github.com/Oberon00/luabind";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library that helps you create bindings between C++ and Lua";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.mit;
|
2023-04-29 16:46:19 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|