Files
nixpkgs/pkgs/servers/http/nginx/modules/upstream-tarantool/package.nix
Martin Weinelt 332e43b0cc nginxModules: upgrade to derivations
This is how we gain proper versioning, standard patch application,
automatic updates. In total a more healthy nginx module package set.
2026-07-31 21:44:51 +02:00

33 lines
641 B
Nix

{
fetchFromGitHub,
lib,
mkNginxPlugin,
msgpuck,
yajl,
}:
mkNginxPlugin (finalAttrs: {
pname = "upstream-tarantool";
version = "2.7.1";
src = fetchFromGitHub {
owner = "tarantool";
repo = "nginx_upstream_module";
tag = "v${finalAttrs.version}";
sha256 = "0ya4330in7zjzqw57djv4icpk0n1j98nvf0f8v296yi9rjy054br";
};
buildInputs = [
msgpuck.dev
yajl
];
meta = {
description = "Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)";
homepage = "https://github.com/tarantool/nginx_upstream_module";
license = lib.licenses.bsd2;
maintainers = [ ];
};
})