depot/third_party/nixpkgs/pkgs/development/emilua-plugins/bech32/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

64 lines
979 B
Nix

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