mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 12:29:19 -08:00
feat: add pystray for hyprland
This commit is contained in:
parent
7bc4a2c918
commit
51fe663a47
3 changed files with 40 additions and 12 deletions
15
package.nix
15
package.nix
|
|
@ -2,7 +2,11 @@
|
|||
lib,
|
||||
buildPythonPackage,
|
||||
python311Packages,
|
||||
psmisc
|
||||
psmisc,
|
||||
gobject-introspection,
|
||||
gtk3,
|
||||
dbus-python,
|
||||
wrapGAppsHook,
|
||||
}: let
|
||||
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
||||
poetryBlock = pyproject.tool.poetry;
|
||||
|
|
@ -18,12 +22,19 @@ in
|
|||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
propagatedBuildInputs = let
|
||||
dependencyNames = (lib.attrNames poetryBlock.dependencies) ++ ["dbus-python"];
|
||||
dependencyNames = (lib.attrNames poetryBlock.dependencies) ++ ["setuptools" "pygobject3" "pystray" "dbus-python"];
|
||||
dependencies = map (name: python311Packages.${name} or dependencyReplacements.${name}) dependencyNames;
|
||||
in
|
||||
dependencies ++ [
|
||||
psmisc
|
||||
gtk3
|
||||
dbus-python
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue