upsies: allow overriding 'runtimeDeps'

This commit is contained in:
Bruno BELANYI
2026-01-19 11:55:39 +00:00
parent 032a769278
commit d890b78da7
+6 -2
View File
@@ -71,7 +71,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
pytestCheckHook
trustme
]
++ runtimeDeps;
++ finalAttrs.passthru.runtimeDeps;
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# Fail during object comparisons on Darwin
@@ -110,11 +110,15 @@ python3Packages.buildPythonApplication (finalAttrs: {
"--suffix"
"PATH"
":"
(lib.makeBinPath runtimeDeps)
(lib.makeBinPath finalAttrs.passthru.runtimeDeps)
];
__darwinAllowLocalNetworking = true;
passthru = {
inherit runtimeDeps;
};
meta = {
description = "Toolkit for collecting, generating, normalizing and sharing video metadata";
homepage = "https://upsies.readthedocs.io/";