Merge pull request #231252 from arjan-s/qtile-to-python-modules
qtile: move to python-modules
This commit is contained in:
commit
6826212ce5
8 changed files with 36 additions and 24 deletions
|
@ -1,9 +0,0 @@
|
|||
{ python3, qtile-unwrapped }:
|
||||
(python3.withPackages (_: [ qtile-unwrapped ])).overrideAttrs (_: {
|
||||
# otherwise will be exported as "env", this restores `nix search` behavior
|
||||
name = "${qtile-unwrapped.pname}-${qtile-unwrapped.version}";
|
||||
# export underlying qtile package
|
||||
passthru = { unwrapped = qtile-unwrapped; };
|
||||
# restore original qtile attrs
|
||||
inherit (qtile-unwrapped) pname version meta;
|
||||
})
|
|
@ -6,7 +6,7 @@
|
|||
, xorgserver
|
||||
, pulseaudio
|
||||
, pytest-asyncio
|
||||
, qtile-unwrapped
|
||||
, qtile
|
||||
, keyring
|
||||
, requests
|
||||
, stravalib
|
||||
|
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
qtile-unwrapped
|
||||
qtile
|
||||
pulseaudio
|
||||
keyring
|
||||
requests
|
||||
|
|
|
@ -1,20 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, python3Packages
|
||||
, mypy
|
||||
, cairocffi
|
||||
, dbus-next
|
||||
, dbus-python
|
||||
, glib
|
||||
, pango
|
||||
, pkg-config
|
||||
, libinput
|
||||
, libxkbcommon
|
||||
, mpd2
|
||||
, mypy
|
||||
, pango
|
||||
, pkg-config
|
||||
, psutil
|
||||
, pulseaudio
|
||||
, pygobject3
|
||||
, python-dateutil
|
||||
, pywayland
|
||||
, pywlroots
|
||||
, pyxdg
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, wayland
|
||||
, wlroots
|
||||
, xcbutilcursor
|
||||
, pulseaudio
|
||||
, xcffib
|
||||
, xkbcommon
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "qtile";
|
||||
version = "0.22.1";
|
||||
|
||||
|
@ -42,14 +55,13 @@ python3Packages.buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
] ++ (with python3Packages; [
|
||||
setuptools-scm
|
||||
]);
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
propagatedBuildInputs = [
|
||||
xcffib
|
||||
(cairocffi.override { withXcffib = true; })
|
||||
setuptools
|
||||
python-dateutil
|
||||
dbus-python
|
||||
dbus-next
|
8
pkgs/development/python-modules/qtile/wrapper.nix
Normal file
8
pkgs/development/python-modules/qtile/wrapper.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ python3 }:
|
||||
|
||||
(python3.withPackages (_: [ python3.pkgs.qtile ])).overrideAttrs (_: {
|
||||
# restore some qtile attrs, beautify name
|
||||
inherit (python3.pkgs.qtile) pname version meta;
|
||||
name = with python3.pkgs.qtile; "${pname}-${version}";
|
||||
passthru.unwrapped = python3.pkgs.qtile;
|
||||
})
|
|
@ -1415,6 +1415,7 @@ mapAliases ({
|
|||
qt515 = qt5; # Added 2022-11-24
|
||||
qt5ct = libsForQt5.qt5ct; # Added 2021-12-27
|
||||
qtcurve = libsForQt5.qtcurve; # Added 2020-11-07
|
||||
qtile-unwrapped = python3.pkgs.qtile; # Added 2023-05-12
|
||||
qtkeychain = throw "the qtkeychain attribute (qt4 version) has been removes, use the qt5 version: libsForQt5.qtkeychain"; # Added 2021-08-04
|
||||
qtscriptgenerator = throw "'qtscriptgenerator' (Qt4) is unmaintained upstream and not used in nixpkgs"; # Added 2022-06-14
|
||||
quagga = throw "quagga is no longer maintained upstream"; # Added 2021-04-22
|
||||
|
|
|
@ -34818,8 +34818,7 @@ with pkgs;
|
|||
|
||||
qpdfview = libsForQt5.callPackage ../applications/office/qpdfview { };
|
||||
|
||||
qtile-unwrapped = callPackage ../applications/window-managers/qtile { };
|
||||
qtile = callPackage ../applications/window-managers/qtile/wrapper.nix { };
|
||||
qtile = callPackage ../development/python-modules/qtile/wrapper.nix { };
|
||||
|
||||
vimgolf = callPackage ../games/vimgolf { };
|
||||
|
||||
|
|
|
@ -10246,6 +10246,7 @@ self: super: with self; {
|
|||
|
||||
qtconsole = callPackage ../development/python-modules/qtconsole { };
|
||||
|
||||
qtile = callPackage ../development/python-modules/qtile { };
|
||||
qtile-extras = callPackage ../development/python-modules/qtile-extras { };
|
||||
|
||||
qtpy = callPackage ../development/python-modules/qtpy { };
|
||||
|
|
Loading…
Reference in a new issue