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