From 47c97a45d2b9ae5c495d748a4eeea653083ab690 Mon Sep 17 00:00:00 2001 From: huantian Date: Wed, 23 Oct 2024 18:23:43 -0700 Subject: [PATCH] activitywatch: python3.pkgs -> python3Packages --- .../office/activitywatch/default.nix | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/office/activitywatch/default.nix b/pkgs/applications/office/activitywatch/default.nix index 569c1641e5ff..df7b95573783 100644 --- a/pkgs/applications/office/activitywatch/default.nix +++ b/pkgs/applications/office/activitywatch/default.nix @@ -9,6 +9,7 @@ openssl, rust-jemalloc-sys, python3, + python3Packages, wrapQtAppsHook, qtbase, qtsvg, @@ -28,16 +29,16 @@ let }; in rec { - aw-watcher-afk = python3.pkgs.buildPythonApplication { + aw-watcher-afk = python3Packages.buildPythonApplication { pname = "aw-watcher-afk"; inherit version; src = "${sources}/aw-watcher-afk"; pyproject = true; - build-system = [ python3.pkgs.poetry-core ]; + build-system = [ python3Packages.poetry-core ]; - dependencies = with python3.pkgs; [ + dependencies = with python3Packages; [ aw-client xlib pynput @@ -57,16 +58,16 @@ rec { }; }; - aw-watcher-window = python3.pkgs.buildPythonApplication { + aw-watcher-window = python3Packages.buildPythonApplication { pname = "aw-watcher-window"; inherit version; src = "${sources}/aw-watcher-window"; pyproject = true; - build-system = [ python3.pkgs.poetry-core ]; + build-system = [ python3Packages.poetry-core ]; - dependencies = with python3.pkgs; [ + dependencies = with python3Packages; [ aw-client xlib ]; @@ -85,16 +86,16 @@ rec { }; }; - aw-qt = python3.pkgs.buildPythonApplication { + aw-qt = python3Packages.buildPythonApplication { pname = "aw-qt"; inherit version; src = "${sources}/aw-qt"; pyproject = true; - build-system = [ python3.pkgs.poetry-core ]; + build-system = [ python3Packages.poetry-core ]; - dependencies = with python3.pkgs; [ + dependencies = with python3Packages; [ aw-core qtbase qtsvg # Rendering icons in the trayicon menu @@ -142,16 +143,16 @@ rec { }; }; - aw-notify = python3.pkgs.buildPythonApplication { + aw-notify = python3Packages.buildPythonApplication { pname = "aw-notify"; inherit version; src = "${sources}/aw-notify"; pyproject = true; - build-system = [ python3.pkgs.poetry-core ]; + build-system = [ python3Packages.poetry-core ]; - dependencies = with python3.pkgs; [ + dependencies = with python3Packages; [ aw-client desktop-notifier ];