emiluaPlugins.secp256k1: init at 0.5.0

This commit is contained in:
Valter Nazianzeno 2024-09-21 21:04:35 +00:00
parent 253688541a
commit 7308690e9a
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,
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;
};
}

View File

@ -14,4 +14,7 @@ emilua:
};
qt5 = self.callPackage ../development/emilua-plugins/qt5 { };
qt6 = self.callPackage ../development/emilua-plugins/qt6 { };
secp256k1 = self.callPackage ../development/emilua-plugins/secp256k1 {
inherit (pkgs) secp256k1;
};
}))