Skip to content

Commit bcadc56

Browse files
vlaciadisbladis
authored andcommitted
support upload_time field in wheel metadata
It got introduced in astral-sh/uv#12968 and released in uv 0.6.15
1 parent d8b090f commit bcadc56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/lock1.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ fix (self: {
362362
path ? null,
363363
hash ? null,
364364
size ? null,
365+
upload_time ? null,
365366
}@whl:
366367
# Assert mutually exclusive args
367368
assert (whl ? url) -> (!whl ? filename && !whl ? path);
@@ -384,6 +385,9 @@ fix (self: {
384385
}
385386
// optionalAttrs (whl ? hash) {
386387
inherit hash;
388+
}
389+
// optionalAttrs (upload_time != null) {
390+
inherit upload_time;
387391
};
388392

389393
parseMetadata =

0 commit comments

Comments
 (0)