nixpkgs/pkgs/development/emilua-plugins/botan/default.nix
2024-09-21 21:01:44 +00:00

63 lines
976 B
Nix

{
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;
};
}