mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
724 B
Nix
33 lines
724 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;
|
|
};
|
|
|
|
patches = [./0.9.1-discover-luajit.patch];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Oberon00/luabind";
|
|
description = "Library that helps you create bindings between C++ and Lua";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|