mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
This is how we gain proper versioning, standard patch application, automatic updates. In total a more healthy nginx module package set.
33 lines
641 B
Nix
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 = [ ];
|
|
};
|
|
|
|
})
|