mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
This is how we gain proper versioning, standard patch application, automatic updates. In total a more healthy nginx module package set.
28 lines
600 B
Nix
28 lines
600 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
mkNginxPlugin,
|
|
openssl,
|
|
}:
|
|
|
|
mkNginxPlugin (finalAttrs: {
|
|
pname = "secure-token";
|
|
version = "1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kaltura";
|
|
repo = "nginx-secure-token-module";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-qYTjGS9pykRqMFmNls52YKxEdXYhHw+18YC2zzdjEpU=";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = {
|
|
description = "Generates CDN tokens, either as a cookie or as a query string parameter";
|
|
homepage = "https://github.com/kaltura/nginx-secure-token-module";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = [ ];
|
|
};
|
|
})
|