emiluaPlugins.bech32: init at 1.1.0

This commit is contained in:
Valter Nazianzeno 2024-09-25 01:41:41 +00:00
parent 5aaceeaf01
commit e155d91245
2 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,64 @@
{
lib,
stdenv,
meson,
ninja,
fetchFromGitLab,
gperf,
gawk,
gitUpdater,
pkg-config,
boost,
luajit_openresty,
asciidoctor,
emilua,
liburing,
openssl,
fmt,
cmake,
range-v3,
}:
stdenv.mkDerivation rec {
pname = "emilua-bech32";
version = "1.1.0";
src = fetchFromGitLab {
owner = "emilua";
repo = "bech32";
rev = "v${version}";
hash = "sha256-f4KFL2RV+fAVJrgaAQWKuLwlN440j9vBbiyk5fHrwiE=";
};
buildInputs = [
emilua
liburing
fmt
range-v3
luajit_openresty
openssl
boost
];
nativeBuildInputs = [
gperf
gawk
pkg-config
asciidoctor
meson
ninja
cmake
];
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = with lib; {
description = "Bech32 codec for Emilua";
homepage = "https://emilua.org/";
license = licenses.mit;
maintainers = with maintainers; [ manipuladordedados ];
platforms = platforms.linux;
};
}

View File

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