emiluaPlugins: introduce botan and secp256k1 (#342594)
This commit is contained in:
commit
9c711566cd
62
pkgs/development/emilua-plugins/botan/default.nix
Normal file
62
pkgs/development/emilua-plugins/botan/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
62
pkgs/development/emilua-plugins/secp256k1/default.nix
Normal file
62
pkgs/development/emilua-plugins/secp256k1/default.nix
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
meson,
|
||||||
|
ninja,
|
||||||
|
fetchFromGitLab,
|
||||||
|
gperf,
|
||||||
|
gawk,
|
||||||
|
gitUpdater,
|
||||||
|
pkg-config,
|
||||||
|
boost,
|
||||||
|
luajit_openresty,
|
||||||
|
asciidoctor,
|
||||||
|
emilua,
|
||||||
|
liburing,
|
||||||
|
openssl,
|
||||||
|
fmt,
|
||||||
|
secp256k1,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "emilua-secp256k1";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "emilua";
|
||||||
|
repo = "secp256k1";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-xbyDKxuU03U0k4YSD7Sahw2Z4ZSpQHwrpWcSN0F5CCw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
emilua
|
||||||
|
liburing
|
||||||
|
fmt
|
||||||
|
secp256k1
|
||||||
|
luajit_openresty
|
||||||
|
openssl
|
||||||
|
boost
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gperf
|
||||||
|
gawk
|
||||||
|
pkg-config
|
||||||
|
asciidoctor
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Emilua bindings to libsecp256k1";
|
||||||
|
homepage = "https://emilua.org/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ manipuladordedados ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -9,6 +9,12 @@ emilua:
|
|||||||
(lib.makeScope newScope (self: {
|
(lib.makeScope newScope (self: {
|
||||||
inherit emilua;
|
inherit emilua;
|
||||||
beast = self.callPackage ../development/emilua-plugins/beast { };
|
beast = self.callPackage ../development/emilua-plugins/beast { };
|
||||||
|
botan = self.callPackage ../development/emilua-plugins/botan {
|
||||||
|
inherit (pkgs) botan3;
|
||||||
|
};
|
||||||
qt5 = self.callPackage ../development/emilua-plugins/qt5 { };
|
qt5 = self.callPackage ../development/emilua-plugins/qt5 { };
|
||||||
qt6 = self.callPackage ../development/emilua-plugins/qt6 { };
|
qt6 = self.callPackage ../development/emilua-plugins/qt6 { };
|
||||||
|
secp256k1 = self.callPackage ../development/emilua-plugins/secp256k1 {
|
||||||
|
inherit (pkgs) secp256k1;
|
||||||
|
};
|
||||||
}))
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user