Loading pkgs/development/python-modules/pywlroots/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , python , cffi , pkg-config , libxkbcommon , libinput , pixman , udev , wlroots , wayland , pywayland , xkbcommon , pytestCheckHook }: buildPythonPackage rec { pname = "pywlroots"; version = "0.14.8"; src = fetchPypi { inherit pname version; sha256 = "vCVgO26yv4wJ9cejfLfrRQkbuRJGLTfsqkA9xvbwyRE="; }; nativeBuildInputs = [ pkg-config ]; propagatedNativeBuildInputs = [ cffi ]; buildInputs = [ libinput libxkbcommon pixman udev wayland wlroots ]; propagatedBuildInputs = [ cffi pywayland xkbcommon ]; checkInputs = [ pytestCheckHook ]; postBuild = '' ${python.interpreter} wlroots/ffi_build.py ''; pythonImportsCheck = [ "wlroots" ]; meta = with lib; { homepage = "https://github.com/flacjacket/pywlroots"; description = "Python bindings to wlroots using cffi"; license = licenses.ncsa; maintainers = with maintainers; [ chvp ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7744,6 +7744,8 @@ in { pywizlight = callPackage ../development/python-modules/pywizlight { }; pywlroots = callPackage ../development/python-modules/pywlroots { }; pyxattr = callPackage ../development/python-modules/pyxattr { }; pyworld = callPackage ../development/python-modules/pyworld { }; Loading Loading
pkgs/development/python-modules/pywlroots/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , python , cffi , pkg-config , libxkbcommon , libinput , pixman , udev , wlroots , wayland , pywayland , xkbcommon , pytestCheckHook }: buildPythonPackage rec { pname = "pywlroots"; version = "0.14.8"; src = fetchPypi { inherit pname version; sha256 = "vCVgO26yv4wJ9cejfLfrRQkbuRJGLTfsqkA9xvbwyRE="; }; nativeBuildInputs = [ pkg-config ]; propagatedNativeBuildInputs = [ cffi ]; buildInputs = [ libinput libxkbcommon pixman udev wayland wlroots ]; propagatedBuildInputs = [ cffi pywayland xkbcommon ]; checkInputs = [ pytestCheckHook ]; postBuild = '' ${python.interpreter} wlroots/ffi_build.py ''; pythonImportsCheck = [ "wlroots" ]; meta = with lib; { homepage = "https://github.com/flacjacket/pywlroots"; description = "Python bindings to wlroots using cffi"; license = licenses.ncsa; maintainers = with maintainers; [ chvp ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7744,6 +7744,8 @@ in { pywizlight = callPackage ../development/python-modules/pywizlight { }; pywlroots = callPackage ../development/python-modules/pywlroots { }; pyxattr = callPackage ../development/python-modules/pyxattr { }; pyworld = callPackage ../development/python-modules/pyworld { }; Loading