emilua: 0.10.1 -> 0.11.1, update plugins (#385926)

This commit is contained in:
Gaétan Lepage
2025-03-01 23:56:28 +01:00
committed by GitHub
9 changed files with 42 additions and 26 deletions
@@ -1,4 +1,5 @@
{
lib,
stdenv,
emilua,
meson,
@@ -12,13 +13,13 @@
stdenv.mkDerivation (self: {
pname = "emilua_beast";
version = "1.1.1";
version = "1.1.2";
src = fetchFromGitLab {
owner = "emilua";
repo = "beast";
rev = "v${self.version}";
hash = "sha256-8pHL0ut221LvFwb/o1GuLV3gIDw5LSeqxqIa9eaQjXY=";
hash = "sha256-MASaZvhIVKmeBUcn/NjlBZ+xh+2RgwHBH2o08lklGa0=";
};
buildInputs = [
@@ -34,4 +35,15 @@ stdenv.mkDerivation (self: {
];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
description = "Emilua bindings to Boost.Beast (a WebSocket library)";
homepage = "https://gitlab.com/emilua/beast";
license = lib.licenses.boost;
maintainers = with lib.maintainers; [
manipuladordedados
lucasew
];
platforms = lib.platforms.linux;
};
})
@@ -21,13 +21,13 @@
stdenv.mkDerivation rec {
pname = "emilua-bech32";
version = "1.1.0";
version = "1.1.1";
src = fetchFromGitLab {
owner = "emilua";
repo = "bech32";
rev = "v${version}";
hash = "sha256-f4KFL2RV+fAVJrgaAQWKuLwlN440j9vBbiyk5fHrwiE=";
hash = "sha256-DJUdwnX9jHKpVYRkP/UFYNefphbqCoUIjXLTNQ5umis=";
};
buildInputs = [
@@ -20,13 +20,13 @@
stdenv.mkDerivation rec {
pname = "emilua-botan";
version = "1.1.0";
version = "1.1.1";
src = fetchFromGitLab {
owner = "emilua";
repo = "botan";
rev = "v${version}";
hash = "sha256-5/vcm6vNucBhl1Aki+OFNjAU7Hvc7OLAAH4CYchlBIY=";
hash = "sha256-oqJEsVe/mF/v6pCrDDG/Tug4st+LsSlYs4oRvfri8Tc=";
};
buildInputs = [
@@ -22,13 +22,13 @@
stdenv.mkDerivation rec {
pname = "emilua-qt5";
version = "1.0.1";
version = "1.0.2";
src = fetchFromGitLab {
owner = "emilua";
repo = "qt5";
rev = "v${version}";
hash = "sha256-FkBfzGzUX7dvHjWRBjVwppU4jZBbY02gP+fIta8mjIw=";
hash = "sha256-9w9E0RWwW3scbmOOXdOXj22LR65a6XBHDkC8eimAfUs=";
};
buildInputs = [
@@ -23,13 +23,13 @@
stdenv.mkDerivation rec {
pname = "emilua-qt6";
version = "1.1.0";
version = "1.2.0";
src = fetchFromGitLab {
owner = "emilua";
repo = "qt6";
rev = "v${version}";
hash = "sha256-tSVJTEPLQ5z1OPtyNiu71AZcVmgzD7oWhDI8ccctGOQ=";
hash = "sha256-/GIEMkJnF/nubbTya9SDm3Zb8dvdbPQCMrgKtRtIrMs=";
};
buildInputs = with qt6Packages; [
@@ -20,13 +20,13 @@
stdenv.mkDerivation rec {
pname = "emilua-secp256k1";
version = "0.5.0";
version = "0.5.1";
src = fetchFromGitLab {
owner = "emilua";
repo = "secp256k1";
rev = "v${version}";
hash = "sha256-xbyDKxuU03U0k4YSD7Sahw2Z4ZSpQHwrpWcSN0F5CCw=";
hash = "sha256-u3o6kE1HykxH2KbrJmNTDz9IbT+e26Vxze5RzvfCfVA=";
};
buildInputs = [
@@ -35,13 +35,13 @@ let
in
stdenv.mkDerivation rec {
pname = "emilua-tdlib";
version = "1.0.3";
version = "1.0.4";
src = fetchFromGitLab {
owner = "emilua";
repo = "tdlib";
rev = "v${version}";
hash = "sha256-14jg71m1za+WW0PP9cg1XniCupl9/RXqeEP1SE+62Ng=";
hash = "sha256-dqbSECQLM664l2QrkEAfT65/NBI0ghj286dt7eaxcks=";
fetchSubmodules = true;
};
@@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "emilua-this-thread";
version = "1.0.1";
version = "1.0.2";
src = fetchFromGitLab {
owner = "emilua";
repo = "this-thread";
rev = "v${version}";
hash = "sha256-AvvRHy5llxkYt7aRO0KepCX032hhxhOr/c680VBrnBQ=";
hash = "sha256-K9RQh/OnbQnqltfT9y36N/hEZxzbMP2aOJJ12FhAzHM=";
};
buildInputs = [
@@ -23,6 +23,8 @@
asciidoctor,
makeWrapper,
gitUpdater,
enableIoUring ? false,
emilua, # this package
}:
let
@@ -51,13 +53,13 @@ in
stdenv.mkDerivation (self: {
pname = "emilua";
version = "0.10.1";
version = "0.11.1";
src = fetchFromGitLab {
owner = "emilua";
repo = "emilua";
rev = "v${self.version}";
hash = "sha256-D6XKXik9nWQ6t6EF6dLbRGB60iFbPUM8/H8iFAz1QlE=";
tag = "v${self.version}";
hash = "sha256-Kl2atD3ejPSbwk9ByQrZrqBrHT4Wk+3AY3tvRC3jOCI=";
};
propagatedBuildInputs = [
@@ -89,8 +91,8 @@ stdenv.mkDerivation (self: {
dontUseCmakeConfigure = true;
mesonFlags = [
(lib.mesonBool "enable_file_io" true)
(lib.mesonBool "enable_io_uring" true)
(lib.mesonBool "enable_io_uring" enableIoUring)
(lib.mesonBool "enable_file_io" enableIoUring)
(lib.mesonBool "enable_tests" true)
(lib.mesonBool "enable_manpages" true)
(lib.mesonOption "version_suffix" "-nixpkgs1")
@@ -100,7 +102,8 @@ stdenv.mkDerivation (self: {
patchShebangs src/emilua_gperf.awk --interpreter '${lib.getExe gawk} -f'
'';
doCheck = true;
# io_uring is not allowed in Nix sandbox, that breaks the tests
doCheck = !enableIoUring;
mesonCheckFlags = [
# Skipped test: libpsx
@@ -120,17 +123,18 @@ stdenv.mkDerivation (self: {
updateScript = gitUpdater { rev-prefix = "v"; };
inherit boost;
sitePackages = "lib/emilua-${(lib.concatStringsSep "." (lib.take 2 (lib.splitVersion self.version)))}";
tests.with-io-uring = emilua.override { enableIoUring = true; };
};
meta = with lib; {
meta = {
description = "Lua execution engine";
mainProgram = "emilua";
homepage = "https://emilua.org/";
license = licenses.boost;
maintainers = with maintainers; [
license = lib.licenses.boost;
maintainers = with lib.maintainers; [
manipuladordedados
lucasew
];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
})