depot/third_party/nixpkgs/pkgs/development/libraries/luabind/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

30 lines
679 B
Nix

{ lib, stdenv, fetchFromGitHub, lua, boost, cmake }:
stdenv.mkDerivation rec {
pname = "luabind";
version = "0.9.1";
src = fetchFromGitHub {
owner = "Oberon00";
repo = "luabind";
rev = "49814f6b47ed99e273edc5198a6ebd7fa19e813a";
sha256 = "sha256-JcOsoQHRvdzF2rsZBW6egOwIy7+7C4wy0LiYmbV590Q";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
propagatedBuildInputs = [ lua ];
passthru = {
inherit lua;
};
meta = {
homepage = "https://github.com/luabind/luabind";
description = "A library that helps you create bindings between C++ and Lua";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
}