Loading pkgs/development/libraries/wlroots/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ let maintainers = with lib.maintainers; [ synthetica wineee doronbehar ]; pkgConfigModules = [ ( Loading pkgs/development/python-modules/pywlroots/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -14,7 +14,6 @@ wayland, pywayland, xkbcommon, xorg, pytestCheckHook, qtile, }: Loading @@ -37,8 +36,6 @@ buildPythonPackage rec { libinput libxkbcommon pixman xorg.libxcb xorg.xcbutilwm udev wayland wlroots Loading @@ -65,6 +62,9 @@ buildPythonPackage rec { description = "Python bindings to wlroots using cffi"; license = lib.licenses.ncsa; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ chvp ]; maintainers = with lib.maintainers; [ chvp doronbehar ]; }; } pkgs/development/python-modules/qtile/default.nix +23 −8 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, cairocffi, dbus-fast, aiohttp, Loading @@ -21,8 +22,6 @@ pulsectl-asyncio, pygobject3, pytz, pywayland, pywlroots, pyxdg, setuptools, setuptools-scm, Loading @@ -33,7 +32,6 @@ xcbutilcursor, xcbutilwm, xcffib, xkbcommon, nixosTests, extraPackages ? [ ], }: Loading @@ -50,17 +48,37 @@ buildPythonPackage rec { hash = "sha256-PPyI+IGvHBQusVmU3D26VjYjLaa9+94KUqNwbQSzeaI="; }; patches = [ # The patch below makes upstream's build script search for wayland-scanner # simply in $PATH, and not via `pkg-config`. This allows us to put # wayland-scanner in nativeBuildInputs and keep using `strictDeps`. See: # # https://github.com/qtile/qtile/pull/5726 # # Upstream has merged the PR directly - without creating a merge commit, so # using a range is required. (fetchpatch { name = "qtile-PR5726-wayland-scanner-pkg-config.patch"; url = "https://github.com/qtile/qtile/compare/f0243abee5e6b94ef92b24e99d09037a4f40272b..553845bd17f38a6d1dee763a23c1b015df894794.patch"; hash = "sha256-hRArLC4nQMAbT//QhQeAUL1o7OCV0zvrlJztDavI0K0="; }) ]; build-system = [ setuptools setuptools-scm ]; nativeBuildInputs = [ pkg-config wayland-scanner ]; env = { "QTILE_CAIRO_PATH" = "${lib.getDev cairo}/include/cairo"; "QTILE_PIXMAN_PATH" = "${lib.getDev pixman}/include/pixman-1"; "QTILE_LIBDRM_PATH" = "${lib.getDev libdrm}/include/libdrm"; "QTILE_WLROOTS_PATH" = "${lib.getDev wlroots}/include/wlroots-0.19"; "QTILE_WLROOTS_PATH" = "${lib.getDev wlroots}/include/wlroots-${lib.versions.majorMinor wlroots.version}"; }; pypaBuildFlags = [ Loading @@ -81,11 +99,8 @@ buildPythonPackage rec { pulsectl-asyncio pygobject3 pytz pywayland pywlroots pyxdg xcffib xkbcommon ]; buildInputs = [ Loading @@ -98,7 +113,6 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ wayland-scanner wayland-protocols cffi xcffib Loading @@ -125,6 +139,7 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ arjan-s sigmanificient doronbehar ]; }; } pkgs/development/python-modules/xkbcommon/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -35,6 +35,9 @@ buildPythonPackage rec { homepage = "https://github.com/sde1000/python-xkbcommon"; description = "Python bindings for libxkbcommon using cffi"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ chvp ]; maintainers = with lib.maintainers; [ chvp doronbehar ]; }; } Loading
pkgs/development/libraries/wlroots/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ let maintainers = with lib.maintainers; [ synthetica wineee doronbehar ]; pkgConfigModules = [ ( Loading
pkgs/development/python-modules/pywlroots/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -14,7 +14,6 @@ wayland, pywayland, xkbcommon, xorg, pytestCheckHook, qtile, }: Loading @@ -37,8 +36,6 @@ buildPythonPackage rec { libinput libxkbcommon pixman xorg.libxcb xorg.xcbutilwm udev wayland wlroots Loading @@ -65,6 +62,9 @@ buildPythonPackage rec { description = "Python bindings to wlroots using cffi"; license = lib.licenses.ncsa; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ chvp ]; maintainers = with lib.maintainers; [ chvp doronbehar ]; }; }
pkgs/development/python-modules/qtile/default.nix +23 −8 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, cairocffi, dbus-fast, aiohttp, Loading @@ -21,8 +22,6 @@ pulsectl-asyncio, pygobject3, pytz, pywayland, pywlroots, pyxdg, setuptools, setuptools-scm, Loading @@ -33,7 +32,6 @@ xcbutilcursor, xcbutilwm, xcffib, xkbcommon, nixosTests, extraPackages ? [ ], }: Loading @@ -50,17 +48,37 @@ buildPythonPackage rec { hash = "sha256-PPyI+IGvHBQusVmU3D26VjYjLaa9+94KUqNwbQSzeaI="; }; patches = [ # The patch below makes upstream's build script search for wayland-scanner # simply in $PATH, and not via `pkg-config`. This allows us to put # wayland-scanner in nativeBuildInputs and keep using `strictDeps`. See: # # https://github.com/qtile/qtile/pull/5726 # # Upstream has merged the PR directly - without creating a merge commit, so # using a range is required. (fetchpatch { name = "qtile-PR5726-wayland-scanner-pkg-config.patch"; url = "https://github.com/qtile/qtile/compare/f0243abee5e6b94ef92b24e99d09037a4f40272b..553845bd17f38a6d1dee763a23c1b015df894794.patch"; hash = "sha256-hRArLC4nQMAbT//QhQeAUL1o7OCV0zvrlJztDavI0K0="; }) ]; build-system = [ setuptools setuptools-scm ]; nativeBuildInputs = [ pkg-config wayland-scanner ]; env = { "QTILE_CAIRO_PATH" = "${lib.getDev cairo}/include/cairo"; "QTILE_PIXMAN_PATH" = "${lib.getDev pixman}/include/pixman-1"; "QTILE_LIBDRM_PATH" = "${lib.getDev libdrm}/include/libdrm"; "QTILE_WLROOTS_PATH" = "${lib.getDev wlroots}/include/wlroots-0.19"; "QTILE_WLROOTS_PATH" = "${lib.getDev wlroots}/include/wlroots-${lib.versions.majorMinor wlroots.version}"; }; pypaBuildFlags = [ Loading @@ -81,11 +99,8 @@ buildPythonPackage rec { pulsectl-asyncio pygobject3 pytz pywayland pywlroots pyxdg xcffib xkbcommon ]; buildInputs = [ Loading @@ -98,7 +113,6 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ wayland-scanner wayland-protocols cffi xcffib Loading @@ -125,6 +139,7 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ arjan-s sigmanificient doronbehar ]; }; }
pkgs/development/python-modules/xkbcommon/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -35,6 +35,9 @@ buildPythonPackage rec { homepage = "https://github.com/sde1000/python-xkbcommon"; description = "Python bindings for libxkbcommon using cffi"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ chvp ]; maintainers = with lib.maintainers; [ chvp doronbehar ]; }; }