Unverified Commit cb1396b7 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.qtile-bonsai: init at 0.4.0 (#356700)

parents 24e5f399 b8fe6def
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8558,6 +8558,12 @@
    githubId = 6578603;
    name = "Jonas Rembser";
  };
  gurjaka = {
    name = "Gurami Esartia";
    email = "esartia.gurika@gmail.com";
    github = "Gurjaka";
    githubId = 143032436;
  };
  guserav = {
    github = "guserav";
    githubId = 28863828;
+70 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  cairocffi,
  cffi,
  strenum,
  psutil,
  xcffib,
  pdm-backend,
  pyside6,
  pyvirtualdisplay,
  pytestCheckHook,
  qtile,
}:

buildPythonPackage rec {
  pname = "qtile-bonsai";
  version = "0.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aravinda0";
    repo = "qtile-bonsai";
    rev = "refs/tags/v${version}";
    hash = "sha256-IWy/YEVdZc+UgIKl75ZpOkOIvpS5hCX0ihQenUOuJHo=";
  };

  build-system = [
    pdm-backend
  ];

  dependencies = [
    strenum
    psutil
  ];

  nativeCheckInputs = [
    pyside6
    pyvirtualdisplay
    (cairocffi.override { withXcffib = true; })
    cffi
    xcffib
    qtile
    pytestCheckHook
  ];

  preCheck = ''
    export HOME=$(mktemp -d)
  '';

  disabledTestPaths = [
    # Needs a running DBUS
    "tests/integration/test_layout.py"
    "tests/integration/test_widget.py"
  ];

  pythonImportCheck = [ "qtile_bonsai" ];

  meta = {
    changelog = "https://github.com/aravinda0/qtile-bonsai/releases/tag/${version}";
    homepage = "https://github.com/aravinda0/qtile-bonsai";
    description = "Flexible layout for the qtile tiling window manager";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      gurjaka
      sigmanificient
    ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13598,6 +13598,8 @@ self: super: with self; {
  };
  qtile-extras = callPackage ../development/python-modules/qtile-extras { };
  qtile-bonsai = callPackage ../development/python-modules/qtile-bonsai { };
  qtpy = callPackage ../development/python-modules/qtpy { };
  quadprog = callPackage ../development/python-modules/quadprog { };