tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
luabridge: init at 2.8
Ivar Scholten
3 years ago
01261df9
ef395e39
+37
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
luabridge
default.nix
top-level
all-packages.nix
+35
pkgs/development/libraries/luabridge/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, stdenvNoCC
3
3
+
, fetchFromGitHub
4
4
+
}:
5
5
+
6
6
+
stdenvNoCC.mkDerivation rec {
7
7
+
pname = "luabridge";
8
8
+
version = "2.8";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "vinniefalco";
12
12
+
repo = "LuaBridge";
13
13
+
rev = version;
14
14
+
sha256 = "sha256-gXrBNzE41SH98Xz480+uHQlxHjMHzs23AImxil5LZ0g=";
15
15
+
};
16
16
+
17
17
+
dontConfigure = true;
18
18
+
dontBuild = true;
19
19
+
20
20
+
installPhase = ''
21
21
+
runHook preInstall
22
22
+
mkdir -p $out/include
23
23
+
cp -r Source/LuaBridge $out/include
24
24
+
runHook postInstall
25
25
+
'';
26
26
+
27
27
+
meta = with lib; {
28
28
+
description = "A lightweight, dependency-free library for binding Lua to C++";
29
29
+
homepage = "https://github.com/vinniefalco/LuaBridge";
30
30
+
changelog = "https://github.com/vinniefalco/LuaBridge/blob/${version}/CHANGES.md";
31
31
+
platforms = platforms.unix;
32
32
+
license = licenses.mit;
33
33
+
maintainers = with maintainers; [ ivar ];
34
34
+
};
35
35
+
}
+2
pkgs/top-level/all-packages.nix
reviewed
···
20699
20699
20700
20700
luabind_luajit = luabind.override { lua = luajit; };
20701
20701
20702
20702
+
luabridge = callPackage ../development/libraries/luabridge { };
20703
20703
+
20702
20704
luksmeta = callPackage ../development/libraries/luksmeta {
20703
20705
asciidoc = asciidoc-full;
20704
20706
};