python3Packages.python-xlib: rename from xlib (#534038)

This commit is contained in:
dotlambda
2026-06-22 00:22:28 +00:00
committed by GitHub
41 changed files with 58 additions and 57 deletions

View File

@@ -22,7 +22,7 @@ let
pyqt6-sip
sexpdata
six
xlib
python-xlib
];
pythonEnv = python3.withPackages pythonPkgs;

View File

@@ -40,7 +40,7 @@ rec {
dependencies = with python3Packages; [
aw-client
xlib
python-xlib
pynput
];
@@ -70,7 +70,7 @@ rec {
dependencies = with python3Packages; [
aw-client
xlib
python-xlib
];
pythonRelaxDeps = [

View File

@@ -67,7 +67,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
dependencies = with python3Packages; [
dbus-python
pyinotify
xlib
python-xlib
pygobject3
packaging
standard-imghdr

View File

@@ -45,7 +45,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
requests
pillow
setuptools
xlib
python-xlib
];
postPatch = ''
substituteInPlace discover_overlay/image_getter.py \

View File

@@ -44,7 +44,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
pillow
pygobject3
pyxdg
xlib
python-xlib
];
# no tests

View File

@@ -52,7 +52,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
scrot
slop
xclip
python3Packages.xlib
python3Packages.python-xlib
]
++ (with python3Packages; [
pillow

View File

@@ -25,7 +25,7 @@ let
peewee
pynvml
pygobject3
xlib
python-xlib
pyxdg
requests
rx

View File

@@ -88,7 +88,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
pyyaml
rich
setuptools
xlib
python-xlib
pyroute2
pygobject3
dbus-python

View File

@@ -105,7 +105,7 @@ stdenv.mkDerivation (finalAttrs: {
ps: with ps; [
ewmh
pytest
xlib
python-xlib
]
))
xdotool

View File

@@ -49,7 +49,7 @@ python3Packages.buildPythonApplication {
pycairo
pygobject3
six
xlib
python-xlib
];
postPatch = ''

View File

@@ -23,7 +23,7 @@ python3Packages.buildPythonApplication {
propagatedBuildInputs = [
python3Packages.i3ipc
python3Packages.xlib
python3Packages.python-xlib
python3Packages.six
];

View File

@@ -22,7 +22,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
dependencies = with python3.pkgs; [
dbus-fast
pyudev
xlib
python-xlib
];
postInstall = ''

View File

@@ -56,7 +56,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
pyxdg
pycairo
dbus-python
xlib
python-xlib
];
patches = [

View File

@@ -28,7 +28,7 @@ let
'';
propagatedBuildInputs = with python3Packages; [
xlib
python-xlib
pygobject3.out
dbus-python.out
];

View File

@@ -29,7 +29,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
dbus-python
pygobject3
setproctitle
xlib
python-xlib
])
++ [ rofi ];

View File

@@ -43,7 +43,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
dependencies = with python3Packages; [
babel
psutil
xlib
python-xlib
pygobject3
dbus-python
packaging

View File

@@ -56,7 +56,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
pyudev
pyyaml
typing-extensions
xlib
python-xlib
];
nativeCheckInputs = with python3Packages; [

View File

@@ -49,7 +49,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
pynput
pyside6
streamdeck
xlib
python-xlib
importlib-metadata
evdev
]

View File

@@ -20,7 +20,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
i3ipc
psutil
tenacity
xlib
python-xlib
];
installPhase = ''

View File

@@ -52,7 +52,7 @@ lib.throwIf (enableDragAndDrop && !hasDndSupport)
python3Packages.pynput
python3Packages.pyside6
python3Packages.requests
python3Packages.xlib
python3Packages.python-xlib
kdePackages.qtbase
kdePackages.qt6gtk2
]);

View File

@@ -50,7 +50,7 @@ python3Packages.buildPythonPackage rec {
[
pyzstd
urllib3
xlib
python-xlib
]
++ lib.optionals withTruststore [
truststore

View File

@@ -28,7 +28,7 @@ python3Packages.buildPythonApplication {
dependencies = with python3Packages; [
evdev
xlib
python-xlib
inotify-simple
appdirs
];

View File

@@ -19,7 +19,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
xlib
python-xlib
];
# no tests, no python module to import, no version output to check

View File

@@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
xlib,
python-xlib,
}:
buildPythonPackage rec {
@@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "0g9l14my3v8zlgq1yd8wh5gpara0qcapsfmvg7lq2lapglzhjsy5";
};
propagatedBuildInputs = [ xlib ];
propagatedBuildInputs = [ python-xlib ];
# No tests included
doCheck = false;

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
setuptools,
xlib,
python-xlib,
typing-extensions,
}:
@@ -23,7 +23,7 @@ buildPythonPackage (finalAttrs: {
build-system = [ setuptools ];
dependencies = [
xlib
python-xlib
typing-extensions
];

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
coreutils,
setuptools,
xlib,
python-xlib,
fontconfig,
pytestCheckHook,
writableTmpDirAsHomeHook,
@@ -41,7 +41,7 @@ buildPythonPackage rec {
'';
build-system = [ setuptools ];
dependencies = [ xlib ];
dependencies = [ python-xlib ];
# Fontconfig error: Cannot load default config file
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";

View File

@@ -3,7 +3,7 @@
buildPythonPackage,
pyperclip,
fetchFromGitHub,
xlib,
python-xlib,
pillow,
}:
buildPythonPackage {
@@ -29,7 +29,7 @@ buildPythonPackage {
propagatedBuildInputs = [
pyperclip
xlib
python-xlib
pillow
];

View File

@@ -17,7 +17,7 @@
setuptools,
wcwidth,
wheel,
xlib,
python-xlib,
wrapQtAppsHook,
}:
@@ -54,7 +54,7 @@ buildPythonPackage (finalAttrs: {
rtf-tokenize
setuptools
wcwidth
xlib
python-xlib
];
optional-dependencies = {
gui-qt = [

View File

@@ -25,7 +25,7 @@
setuptools,
wcwidth,
wheel,
xlib,
python-xlib,
qtbase,
wrapQtAppsHook,
hidapi,
@@ -105,7 +105,7 @@ buildPythonPackage (finalAttrs: {
setuptools
wcwidth
xkbcommon
xlib
python-xlib
]
++ readme-renderer.optional-dependencies.md
++ lib.optionals stdenv.hostPlatform.isLinux [ evdev ]

View File

@@ -10,7 +10,7 @@
pyscreeze,
pytweening,
tkinter,
xlib,
python-xlib,
xvfb-run,
scrot,
}:
@@ -39,7 +39,7 @@ buildPythonPackage (finalAttrs: {
mouseinfo
pygetwindow
pymsgbox
xlib
python-xlib
tkinter
pyperclip
pyscreeze

View File

@@ -6,7 +6,7 @@
setuptools,
ewmhlib,
xlib,
python-xlib,
typing-extensions,
}:
@@ -26,7 +26,7 @@ buildPythonPackage (finalAttrs: {
dependencies = [
ewmhlib
xlib
python-xlib
typing-extensions
];

View File

@@ -11,7 +11,7 @@
sphinx,
# dependencies
xlib,
python-xlib,
evdev,
six,
pyobjc-framework-ApplicationServices,
@@ -53,7 +53,7 @@ buildPythonPackage rec {
]
++ lib.optionals stdenv.hostPlatform.isLinux [
evdev
xlib
python-xlib
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# the darwin backend imports HIServices (ApplicationServices) and Quartz

View File

@@ -11,7 +11,7 @@
sphinx,
# dependencies
xlib,
python-xlib,
evdev,
six,
@@ -52,7 +52,7 @@ buildPythonPackage {
]
++ lib.optionals stdenv.hostPlatform.isLinux [
evdev
xlib
python-xlib
];
doCheck = false; # requires running X server

View File

@@ -4,7 +4,7 @@
buildPythonPackage,
fetchFromGitHub,
pillow,
xlib,
python-xlib,
xvfb-run,
scrot,
}:
@@ -24,7 +24,7 @@ buildPythonPackage {
doCheck = stdenv.hostPlatform.isLinux;
nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [
scrot
xlib
python-xlib
xvfb-run
];
checkPhase = lib.optionalString stdenv.hostPlatform.isLinux ''

View File

@@ -10,7 +10,7 @@
pygobject3,
gtk3,
stdenv,
xlib,
python-xlib,
libayatana-appindicator,
pyobjc-framework-Quartz,
xvfb-run,
@@ -55,7 +55,7 @@ buildPythonPackage rec {
gtk3
]
++ lib.optionals stdenv.hostPlatform.isLinux [
xlib
python-xlib
libayatana-appindicator
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ pyobjc-framework-Quartz ];

View File

@@ -15,7 +15,7 @@
}:
buildPythonPackage rec {
pname = "xlib";
pname = "python-xlib";
version = "0.33";
pyproject = true;

View File

@@ -6,7 +6,7 @@
setuptools,
ewmhlib,
xlib,
python-xlib,
typing-extensions,
pyobjc-core,
pyobjc-framework-Cocoa,
@@ -28,7 +28,7 @@ buildPythonPackage (finalAttrs: {
dependencies = [
ewmhlib
xlib
python-xlib
typing-extensions
]
++ lib.optionals stdenv.hostPlatform.isDarwin [

View File

@@ -6,7 +6,7 @@
ewmhlib,
pymonctl,
pywinbox,
xlib,
python-xlib,
typing-extensions,
}:
@@ -28,7 +28,7 @@ buildPythonPackage (finalAttrs: {
ewmhlib
pymonctl
pywinbox
xlib
python-xlib
typing-extensions
];

View File

@@ -12,7 +12,7 @@
pillow,
pkg-config,
psutil,
xlib,
python-xlib,
}:
buildPythonPackage rec {
@@ -43,7 +43,7 @@ buildPythonPackage rec {
docopt
pillow
psutil
xlib
python-xlib
];
doCheck = false;

View File

@@ -659,6 +659,7 @@ mapAliases {
x11_hash = throw "'x11_hash' has been renamed to/replaced by 'x11-hash'"; # Converted to throw 2025-10-29
xapp = throw "'xapp' has been renamed to/replaced by 'python-xapp'"; # Converted to throw 2025-10-29
xbox-webapi = throw "xbox-webapi was removed because Home Assistant switched to python-xbox"; # added 2025-12-03
xlib = python-xlib; # added 2026-06-21
XlsxWriter = throw "'XlsxWriter' has been renamed to/replaced by 'xlsxwriter'"; # Converted to throw 2025-10-29
y-py = throw "'y-py' has been removed as it was archived upstream; consider using 'pycrdt' instead"; # Added 2026-01-21
Yapsy = throw "'Yapsy' has been renamed to/replaced by 'yapsy'"; # Converted to throw 2025-10-29

View File

@@ -16405,6 +16405,8 @@ self: super: with self; {
python-xbox = callPackage ../development/python-modules/python-xbox { };
python-xlib = callPackage ../development/python-modules/python-xlib { };
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };
python-xz = callPackage ../development/python-modules/python-xz { };
@@ -21829,8 +21831,6 @@ self: super: with self; {
xknxproject = callPackage ../development/python-modules/xknxproject { };
xlib = callPackage ../development/python-modules/xlib { };
xlrd = callPackage ../development/python-modules/xlrd { };
xlsx2csv = callPackage ../development/python-modules/xlsx2csv { };