Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / luabind / default.nix
blobf7f0878bdffae15f540fa740f2e9c0af00cc4d00
1 { lib, stdenv, fetchFromGitHub, lua, boost, cmake }:
3 stdenv.mkDerivation rec {
4   pname = "luabind";
5   version = "0.9.1";
7   src = fetchFromGitHub {
8     owner = "Oberon00";
9     repo = "luabind";
10     rev = "49814f6b47ed99e273edc5198a6ebd7fa19e813a";
11     sha256 = "sha256-JcOsoQHRvdzF2rsZBW6egOwIy7+7C4wy0LiYmbV590Q";
12   };
14   nativeBuildInputs = [ cmake ];
16   buildInputs = [ boost ];
18   propagatedBuildInputs = [ lua ];
20   passthru = {
21     inherit lua;
22   };
24   patches = [./0.9.1-discover-luajit.patch];
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   };