porxie: 0.3.0 -> 0.3.1, nixos/porxie: update option descriptions (#520869)

This commit is contained in:
isabel
2026-05-16 12:00:05 +00:00
committed by GitHub
2 changed files with 12 additions and 11 deletions
+9 -8
View File
@@ -76,22 +76,23 @@ in
default = null;
apply = v: if v != null then lib.concatStringsSep "," v else null;
description = ''
Blob MIME types that can be served.
Blob mimetypes that can be served. Wildcards are supported "*/*", "image/*", etc.
Validation is done loosely via content inference. Further validation can be done by
a layer above this proxy, such as an image transformation service. When inference
fails, the blob's type falls back to `application/octet-stream`. When that type is
allowed, blobs failing inference can still be served.
Validation is done loosely via content sniffing. Further validation can be done by a layer
above this proxy, such as an image transformation service. When inference fails, the blob's
type falls back to `application/octet-stream`. When that type is allowed, blobs failing
inference can still be served.
'';
};
PORXIE_BLOB_MAX_SIZE = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
Maximum blob size that can be fetched and served.
Maximum blob size that can be served.
Blobs that exceed this limit will return HTTP 413. The minimum value is 512kb
and the maximum is the system's total memory.
Blobs that exceed this limit will return HTTP 413.
The minimum value is 512kb and the maximum is the system's total memory.
'';
};
PORXIE_BLOB_CACHE_HEADER = lib.mkOption {
+3 -3
View File
@@ -11,15 +11,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
__structuredAttrs = true;
pname = "porxie";
version = "0.3.0";
version = "0.3.1";
src = fetchFromCodeberg {
owner = "Blooym";
repo = "porxie";
rev = "v${finalAttrs.version}";
hash = "sha256-mClUYDBgOtX0WcCG0rXhgnKFqnvE2UOFH3PABeF+pkI=";
hash = "sha256-XtJD9W0eF6jNWk0xyvGlV6h0JCAUUjFnMk/MRiVBv9I=";
};
cargoHash = "sha256-SImynSnWJ/tiEoSYuFYQ/JncMeierAioZO2Fnx6FHN4=";
cargoHash = "sha256-q/Q4h39EzkjdWApfVf2VT1Rac+/2nQxpn+gp3l8tbeQ=";
buildInputs = [ rust-jemalloc-sys ];