1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
lib,
stdenv,
meson,
ninja,
fetchFromGitLab,
gperf,
gawk,
gitUpdater,
pkg-config,
boost,
luajit_openresty,
asciidoctor,
emilua,
liburing,
openssl,
fmt,
}:
stdenv.mkDerivation rec {
pname = "emilua-this-thread";
version = "1.0.3";
src = fetchFromGitLab {
owner = "emilua";
repo = "this-thread";
rev = "v${version}";
hash = "sha256-3f2nB6KwNka0P7jnvMZF2+ExuTmICj2NswmRWB+YDKo=";
};
buildInputs = [
emilua
liburing
fmt
luajit_openresty
openssl
boost
];
nativeBuildInputs = [
gperf
gawk
pkg-config
asciidoctor
meson
ninja
];
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = {
description = "Access C++'s this_thread from Lua";
homepage = "https://emilua.org/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ manipuladordedados ];
platforms = lib.platforms.linux;
};
}
|