+2
-28
pkgs/development/interpreters/emilua/default.nix
+2
-28
pkgs/development/interpreters/emilua/default.nix
···
3
3
stdenv,
4
4
meson,
5
5
ninja,
6
-
fetchFromGitHub,
7
6
fetchFromGitLab,
8
7
re2c,
9
8
gperf,
···
28
27
emilua, # this package
29
28
}:
30
29
31
-
let
32
-
trial-protocol-wrap = fetchFromGitHub {
33
-
owner = "breese";
34
-
repo = "trial.protocol";
35
-
rev = "79149f604a49b8dfec57857ca28aaf508069b669";
36
-
sparseCheckout = [
37
-
"include"
38
-
];
39
-
hash = "sha256-QpQ70KDcJyR67PtOowAF6w48GitMJ700B8HiEwDA5sU=";
40
-
postFetch = ''
41
-
rm $out/*.*
42
-
mkdir -p $out/lib/pkgconfig
43
-
cat > $out/lib/pkgconfig/trial-protocol.pc << EOF
44
-
Name: trial.protocol
45
-
Version: 0-unstable-2023-02-10
46
-
Description: C++ header-only library with parsers and generators for network wire protocols
47
-
Requires:
48
-
Libs:
49
-
Cflags:
50
-
EOF
51
-
'';
52
-
};
53
-
in
54
-
55
30
stdenv.mkDerivation (finalAttrs: {
56
31
pname = "emilua";
57
-
version = "0.11.4";
32
+
version = "0.11.6";
58
33
59
34
src = fetchFromGitLab {
60
35
owner = "emilua";
61
36
repo = "emilua";
62
37
tag = "v${finalAttrs.version}";
63
-
hash = "sha256-CVEBFySsGT0f16Dim1Pw1GdDM0fWUKieRZyxHaDH3O4=";
38
+
hash = "sha256-r/WfRAr8AgnZGHxzcZVLg5MHDwcOTMWqOv/Qu/75Y1c=";
64
39
};
65
40
66
41
propagatedBuildInputs = [
···
74
49
liburing
75
50
openssl
76
51
cereal
77
-
trial-protocol-wrap
78
52
];
79
53
80
54
nativeBuildInputs = [