luaPackages.nginx-lua-prometheus: init at 0.20240525-1

This commit is contained in:
Ulysses Zhan 2026-03-17 16:07:59 -07:00
commit 398d36dd3c
No known key found for this signature in database
GPG key ID: 36F32687C05F4986
2 changed files with 34 additions and 0 deletions

View file

@ -124,6 +124,7 @@ mpack,,,,,,
neorg,,,,,5.1,GaetanLepage
neorg-interim-ls,,,,,,
neotest,,,,,5.1,mrcjkb
nginx-lua-prometheus,,,,,,ulysseszhan
nlua,,,,,,teto
nui.nvim,,,,,5.1,mrcjkb
nvim-cmp,https://raw.githubusercontent.com/hrsh7th/nvim-cmp/main/nvim-cmp-scm-1.rockspec,,,,5.1,

1 name rockspec ref server version luaversion maintainers
124 neorg 5.1 GaetanLepage
125 neorg-interim-ls
126 neotest 5.1 mrcjkb
127 nginx-lua-prometheus ulysseszhan
128 nlua teto
129 nui.nvim 5.1 mrcjkb
130 nvim-cmp https://raw.githubusercontent.com/hrsh7th/nvim-cmp/main/nvim-cmp-scm-1.rockspec 5.1

View file

@ -4067,6 +4067,39 @@ final: prev: {
}
) { };
nginx-lua-prometheus = callPackage (
{
buildLuarocksPackage,
fetchFromGitHub,
fetchurl,
luaOlder,
}:
buildLuarocksPackage {
pname = "nginx-lua-prometheus";
version = "0.20240525-1";
knownRockspec =
(fetchurl {
url = "mirror://luarocks/nginx-lua-prometheus-0.20240525-1.rockspec";
sha256 = "0xw21h7bl7l8kijbmw98v0lc7910r5pwnx7h3w894dv63d413ixr";
}).outPath;
src = fetchFromGitHub {
owner = "knyar";
repo = "nginx-lua-prometheus";
tag = "0.20240525";
hash = "sha256-ovLpOQKgTfrrgCxCF/OtdPUuAQ9J4RtT9F68Bbzu1XQ=";
};
disabled = luaOlder "5.1";
meta = {
homepage = "https://github.com/knyar/nginx-lua-prometheus";
description = "Prometheus metric library for Nginx";
maintainers = with lib.maintainers; [ ulysseszhan ];
license.fullName = "MIT";
};
}
) { };
nlua = callPackage (
{
buildLuarocksPackage,