mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
This is how we gain proper versioning, standard patch application, automatic updates. In total a more healthy nginx module package set.
25 lines
545 B
Nix
25 lines
545 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
mkNginxPlugin,
|
|
}:
|
|
|
|
mkNginxPlugin (finalAttrs: {
|
|
pname = "upload";
|
|
version = "2.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fdintino";
|
|
repo = "nginx-upload-module";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-8veZP516oC7TESO368ZsZreetbDt+1eTcamk7P1kWjU=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Handle file uploads using multipart/form-data encoding and resumable uploads";
|
|
homepage = "https://github.com/fdintino/nginx-upload-module";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
})
|