mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 04:19:19 -08:00
build: python 3.12
This commit is contained in:
parent
e3bf98deaf
commit
734bc56e7d
3 changed files with 4 additions and 488 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
python311Packages,
|
||||
python312Packages,
|
||||
psmisc,
|
||||
gobject-introspection,
|
||||
gtk3,
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
||||
poetryBlock = pyproject.tool.poetry;
|
||||
dependencyReplacements = {
|
||||
wxpython = python311Packages.wxPython_4_2;
|
||||
wxpython = python312Packages.wxPython_4_2;
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
|
|
@ -29,7 +29,7 @@ in
|
|||
|
||||
propagatedBuildInputs = let
|
||||
dependencyNames = (lib.attrNames poetryBlock.dependencies) ++ ["setuptools" "pygobject3" "pystray" "dbus-python"];
|
||||
dependencies = map (name: python311Packages.${name} or dependencyReplacements.${name}) dependencyNames;
|
||||
dependencies = map (name: python312Packages.${name} or dependencyReplacements.${name}) dependencyNames;
|
||||
in
|
||||
dependencies ++ [
|
||||
psmisc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue