about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pywlroots/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pywlroots/default.nix')
-rw-r--r--pkgs/development/python-modules/pywlroots/default.nix62
1 files changed, 39 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/pywlroots/default.nix b/pkgs/development/python-modules/pywlroots/default.nix
index ec39364573913..2e2d887b4c792 100644
--- a/pkgs/development/python-modules/pywlroots/default.nix
+++ b/pkgs/development/python-modules/pywlroots/default.nix
@@ -1,39 +1,53 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, python
-, cffi
-, pkg-config
-, libxkbcommon
-, libinput
-, pixman
-, pythonOlder
-, udev
-, wlroots
-, wayland
-, pywayland
-, xkbcommon
-, xorg
-, pytestCheckHook
-, qtile
+{
+  lib,
+  buildPythonPackage,
+  fetchPypi,
+  python,
+  cffi,
+  pkg-config,
+  libxkbcommon,
+  libinput,
+  pixman,
+  pythonOlder,
+  udev,
+  wlroots,
+  wayland,
+  pywayland,
+  xkbcommon,
+  xorg,
+  pytestCheckHook,
+  qtile,
 }:
 
 buildPythonPackage rec {
   pname = "pywlroots";
-  version = "0.16.7";
+  version = "0.17.0";
   format = "setuptools";
 
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-zfjcXQCXysG+JMw00YES/GQk/yjHH9kCksb9SlZt9wo=";
+    hash = "sha256-cssr4UBIwMvInM8bV4YwE6mXf9USSMMAzMcgAefEPbs=";
   };
 
   nativeBuildInputs = [ pkg-config ];
   propagatedNativeBuildInputs = [ cffi ];
-  buildInputs = [ libinput libxkbcommon pixman xorg.libxcb xorg.xcbutilwm udev wayland wlroots ];
-  propagatedBuildInputs = [ cffi pywayland xkbcommon ];
+  buildInputs = [
+    libinput
+    libxkbcommon
+    pixman
+    xorg.libxcb
+    xorg.xcbutilwm
+    udev
+    wayland
+    wlroots
+  ];
+  propagatedBuildInputs = [
+    cffi
+    pywayland
+    xkbcommon
+  ];
   nativeCheckInputs = [ pytestCheckHook ];
 
   postBuild = ''
@@ -42,7 +56,9 @@ buildPythonPackage rec {
 
   pythonImportsCheck = [ "wlroots" ];
 
-  passthru.tests = { inherit qtile; };
+  passthru.tests = {
+    inherit qtile;
+  };
 
   meta = with lib; {
     homepage = "https://github.com/flacjacket/pywlroots";