luaPackages.fallo: init at 2.3.0-1

This commit is contained in:
Marc Jakobi
2026-08-13 22:33:59 +02:00
parent 4248027091
commit 79c3a39369
2 changed files with 36 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ digestif,,,,,5.3,
dkjson,,,,,,
enet,,,,,,ulysseszhan
etlua,,,,,,ulysseszhan
fallo,,,,,,mrcjkb
fennel,,,,,,misterio77
fidget.nvim,,,,,5.1,mrcjkb
fifo,,,,,,
1 name rockspec ref server version luaversion maintainers
23 dkjson
24 enet ulysseszhan
25 etlua ulysseszhan
26 fallo mrcjkb
27 fennel misterio77
28 fidget.nvim 5.1 mrcjkb
29 fifo

View File

@@ -917,6 +917,41 @@ final: prev: {
}
) { };
fallo = callPackage (
{
buildLuarocksPackage,
fetchFromGitHub,
fetchurl,
lua-cjson,
luaOlder,
}:
buildLuarocksPackage {
pname = "fallo";
version = "2.3.0-1";
knownRockspec =
(fetchurl {
url = "mirror://luarocks/fallo-2.3.0-1.rockspec";
sha256 = "14mxxd6nfbx5bchp3i5c0nf93higak6l7506r8jnh30yafyr01cq";
}).outPath;
src = fetchFromGitHub {
owner = "NTBBloodbath";
repo = "fallo";
rev = "8bbbcd6b3db8c10ed68f51c2c6d79af99e5feed7";
hash = "sha256-KW3vzjAd68Q13v2OZoQIzNUj9/qhYh1Ve5dBIG+yuV0=";
};
disabled = luaOlder "5.1";
propagatedBuildInputs = [ lua-cjson ];
meta = {
homepage = "https://github.com/NTBBloodbath/fallo";
maintainers = with lib.maintainers; [ mrcjkb ];
license.fullName = "LGPL-2.0-only";
description = "Modern and ergonomic error handling for Lua, inspired by Rust's Result.";
};
}
) { };
fennel = callPackage (
{
buildLuarocksPackage,