emiluaPlugins.botan: init at 1.1.0

This commit is contained in:
Valter Nazianzeno 2024-09-21 20:54:21 +00:00
parent f2c38f7cfc
commit 253688541a
2 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,62 @@
{
lib,
stdenv,
meson,
ninja,
fetchFromGitLab,
gperf,
gawk,
gitUpdater,
pkg-config,
boost,
luajit_openresty,
asciidoctor,
emilua,
liburing,
openssl,
fmt,
botan3,
}:
stdenv.mkDerivation rec {
pname = "emilua-botan";
version = "1.1.0";
src = fetchFromGitLab {
owner = "emilua";
repo = "botan";
rev = "v${version}";
hash = "sha256-5/vcm6vNucBhl1Aki+OFNjAU7Hvc7OLAAH4CYchlBIY=";
};
buildInputs = [
emilua
liburing
fmt
botan3
luajit_openresty
openssl
boost
];
nativeBuildInputs = [
gperf
gawk
pkg-config
asciidoctor
meson
ninja
];
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = with lib; {
description = "Securely clears secrets from memory in Emilua";
homepage = "https://emilua.org/";
license = licenses.mit;
maintainers = with maintainers; [ manipuladordedados ];
platforms = platforms.linux;
};
}

View File

@ -9,6 +9,9 @@ emilua:
(lib.makeScope newScope (self: {
inherit emilua;
beast = self.callPackage ../development/emilua-plugins/beast { };
botan = self.callPackage ../development/emilua-plugins/botan {
inherit (pkgs) botan3;
};
qt5 = self.callPackage ../development/emilua-plugins/qt5 { };
qt6 = self.callPackage ../development/emilua-plugins/qt6 { };
}))