Skip to content

Commit 5d83f3a

Browse files
authored
#242 fix dependencies + update python library NixOS (#250)
1 parent 2a00273 commit 5d83f3a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

nix/default.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{ lib
2-
, python311Packages
2+
, python313Packages
33
, pkgs
44
}:
55

66
let
77
# Define the Python packages required
8-
pythonPackages = pkgs.python311.withPackages (ps: with ps; [
8+
pythonPackages = pkgs.python313.withPackages (ps: with ps; [
99
numpy
1010
libevdev
1111
xlib
@@ -15,9 +15,10 @@ let
1515
pywayland
1616
xkbcommon
1717
systemd
18+
xcffib
1819
]);
1920
in
20-
python311Packages.buildPythonPackage {
21+
python313Packages.buildPythonPackage {
2122
pname = "asus-numberpad-driver";
2223
version = "6.5.1";
2324
src = ../.;
@@ -34,7 +35,7 @@ python311Packages.buildPythonPackage {
3435
libxkbcommon
3536
libgcc
3637
gcc
37-
pythonPackages # Python dependencies already include python311
38+
pythonPackages # Python dependencies already include python313
3839
];
3940

4041
doCheck = false;

nix/shell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
...
55
}:
66
let
7-
mainPkg = python311Packages.callPackage ./default.nix {};
7+
mainPkg = python313Packages.callPackage ./default.nix {};
88
in
99
mainPkg.overrideAttrs (oa: {
1010
nativeBuildInputs =
1111
[
12-
python311Packages.pip
12+
python313Packages.pip
1313
]
1414
++ (oa.nativeBuildInputs or []);
1515
})

0 commit comments

Comments
 (0)