From fcc32aadf340c002b01efe319a373d6bdb9fe887 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Mon, 23 Oct 2023 22:41:11 +0200 Subject: [PATCH] autosuspend: move dependencies to propagatedBuildInputs --- .../os-specific/linux/autosuspend/default.nix | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/pkgs/os-specific/linux/autosuspend/default.nix b/pkgs/os-specific/linux/autosuspend/default.nix index 200021024aab..bd5b780f8f77 100644 --- a/pkgs/os-specific/linux/autosuspend/default.nix +++ b/pkgs/os-specific/linux/autosuspend/default.nix @@ -22,26 +22,27 @@ python3.pkgs.buildPythonApplication rec { ''; propagatedBuildInputs = with python3.pkgs; [ + dbus-python + icalendar + jsonpath-ng + lxml + mpd2 portalocker psutil - dbus-python + python-dateutil + pytz + requests + requests-file + tzlocal ]; nativeCheckInputs = with python3.pkgs; [ + freezegun + pytest-datadir + pytest-httpserver + pytest-mock pytestCheckHook python-dbusmock - pytest-httpserver - dateutils - freezegun - pytest-mock - requests - requests-file - icalendar - tzlocal - jsonpath-ng - mpd2 - lxml - pytest-datadir ]; # Disable tests that need root