Skip to content

Commit

Permalink
Merge pull request #221793 from chvp/downgrade-pywlroots
Browse files Browse the repository at this point in the history
python3Packages.pywlroots: revert to pywlroots 0.15.24
  • Loading branch information
lilyinstarlight authored Mar 18, 2023
2 parents e500545 + c03e56b commit 738aef5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/development/python-modules/pywlroots/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,30 @@
, pixman
, pythonOlder
, udev
, wlroots_0_16
, wlroots
, wayland
, pywayland
, xkbcommon
, xorg
, pytestCheckHook
, qtile
}:

buildPythonPackage rec {
pname = "pywlroots";
version = "0.16.1";
version = "0.15.24";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-GFJw88N0313PudM0o/jOvtoE3u8kSoV+lYgKlNya4wM=";
hash = "sha256-TvYhxiAbK+mpcEE9y79WH96dzeDnvI0xPaUxSYQqyHE=";
};

nativeBuildInputs = [ pkg-config ];
propagatedNativeBuildInputs = [ cffi ];
buildInputs = [ libinput libxkbcommon pixman xorg.libxcb udev wayland wlroots_0_16 ];
buildInputs = [ libinput libxkbcommon pixman xorg.libxcb udev wayland wlroots ];
propagatedBuildInputs = [ cffi pywayland xkbcommon ];
nativeCheckInputs = [ pytestCheckHook ];

Expand All @@ -41,6 +42,8 @@ buildPythonPackage rec {

pythonImportsCheck = [ "wlroots" ];

passthru.tests = { inherit qtile; };

meta = with lib; {
homepage = "https://github.com/flacjacket/pywlroots";
description = "Python bindings to wlroots using cffi";
Expand Down

0 comments on commit 738aef5

Please sign in to comment.