mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 04:19:19 -08:00
fix: pythonPackages -> python.pkgs
This commit is contained in:
parent
b503cc87a9
commit
55c51028af
2 changed files with 6 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -167,3 +167,6 @@ cython_debug/
|
||||||
# App specific files
|
# App specific files
|
||||||
app.log
|
app.log
|
||||||
config.toml
|
config.toml
|
||||||
|
|
||||||
|
# Nix
|
||||||
|
/result
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
python311Packages,
|
python,
|
||||||
psmisc,
|
psmisc,
|
||||||
gobject-introspection,
|
gobject-introspection,
|
||||||
gtk3,
|
gtk3,
|
||||||
|
|
@ -12,7 +12,7 @@ feh,
|
||||||
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
||||||
poetryBlock = pyproject.tool.poetry;
|
poetryBlock = pyproject.tool.poetry;
|
||||||
dependencyReplacements = {
|
dependencyReplacements = {
|
||||||
wxpython = python311Packages.wxPython_4_2;
|
wxpython = python.pkgs.wxPython_4_2;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
|
@ -30,7 +30,7 @@ in
|
||||||
|
|
||||||
propagatedBuildInputs = let
|
propagatedBuildInputs = let
|
||||||
dependencyNames = (lib.attrNames poetryBlock.dependencies) ++ ["setuptools" "pygobject3" "pystray" "dbus-python"];
|
dependencyNames = (lib.attrNames poetryBlock.dependencies) ++ ["setuptools" "pygobject3" "pystray" "dbus-python"];
|
||||||
dependencies = map (name: python311Packages.${name} or dependencyReplacements.${name}) dependencyNames;
|
dependencies = map (name: python.pkgs.${name} or dependencyReplacements.${name}) dependencyNames;
|
||||||
in
|
in
|
||||||
dependencies ++ [
|
dependencies ++ [
|
||||||
feh
|
feh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue