567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
63 lines
978 B
Nix
63 lines
978 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.2.1";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "emilua";
|
|
repo = "botan";
|
|
rev = "v${version}";
|
|
hash = "sha256-b5yOkjXKnJBQWSKCqiHJcznH1QOmTVgBbS5IwP3VTXA=";
|
|
};
|
|
|
|
buildInputs = [
|
|
emilua
|
|
liburing
|
|
fmt
|
|
botan3
|
|
luajit_openresty
|
|
openssl
|
|
boost
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
gperf
|
|
gawk
|
|
pkg-config
|
|
asciidoctor
|
|
meson
|
|
ninja
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gitUpdater { rev-prefix = "v"; };
|
|
};
|
|
|
|
meta = {
|
|
description = "Securely clears secrets from memory in Emilua";
|
|
homepage = "https://emilua.org/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ manipuladordedados ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|