all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bigbookofbug--- via Guix-patches via <guix-patches@gnu.org>
To: 73523@debbugs.gnu.org
Cc: big bug <bigbookofbug@proton.me>
Subject: [bug#73523] [PATCH 3/3] [PATCH 3/3] gnu: add pywlroots
Date: Sat, 28 Sep 2024 06:35:47 +0000	[thread overview]
Message-ID: <20240928063520.24064-3-bigbookofbug@proton.me> (raw)
In-Reply-To: <20240928063520.24064-1-bigbookofbug@proton.me>

From: big bug <bigbookofbug@proton.me>

---
 gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 29a48dacaa..4a0b74d4f9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11064,6 +11064,44 @@ (define-public python-pywayland
     (description "PyWayland provides a wrapper to the libwayland library using the CFFI library to provide access to the Wayland library calls and written in pure Python.")
     (license license:asl2.0)))
 
+(define-public python-pywlroots
+  (package
+   (name "python-pywlroots")
+   (version "0.17.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "pywlroots" version))
+     (sha256
+      (base32 "1frxqkkh2867rh0c6j0jsmzrga8k6235f6ygkk4cph2883hjpjvj"))))
+   (build-system pyproject-build-system)
+   (arguments
+    (list
+     #:tests? #f
+     #:phases
+     #~(modify-phases %standard-phases
+		      (add-before 'build 'pre-build
+				  ;;needed, otherwise pixman.h will not be found
+				  (lambda* (#:key inputs #:allow-other-keys)
+				    (let ((pixman (string-append
+						   (assoc-ref inputs "pixman")
+						   "/include")))
+				      (setenv "C_INCLUDE_PATH"
+					      (string-append pixman "/" "pixman-1" ":"
+							     (or (getenv "C_INCLUDE_PATH")
+								 "")))))))))
+   (inputs
+    (list pixman wayland libinput libxkbcommon wlroots))
+   (propagated-inputs (list python-pywayland python-xkbcommon))
+   (native-inputs (append (if (%current-target-system)
+			      (list pkg-config-for-build wayland) '())
+			  (list pkg-config
+				python-cffi)))
+   (home-page "https://github.com/flacjacket/pywlroots")
+   (synopsis "Python binding to the wlroots library using cffi.")
+   (description "A Python binding to the wlroots library using cffi. The library uses pywayland to provide the Wayland bindings and python-xkbcommon to provide wlroots keyboard functionality.")
+   (license license:ncsa)))
+
 (define-public python-click-didyoumean
   (package
     (name "python-click-didyoumean")
-- 
2.46.0






  parent reply	other threads:[~2024-09-28  6:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-28  5:00 [bug#73523] [PATCH 0/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
2024-09-28  6:35 ` [bug#73523] [PATCH 1/3] [PATCH 0/3] gnu: add python-pywlroots bigbookofbug--- via Guix-patches via
2024-09-28  6:35   ` [bug#73523] [PATCH 2/3] [PATCH 2/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
2024-09-28  6:35   ` bigbookofbug--- via Guix-patches via [this message]
2024-09-28  6:40 ` bigbookofbug--- via Guix-patches via
2024-10-25  0:20 ` [bug#73523] [PATCH v3 1/3] gnu: Add python-xkbcommon version 1.5.1 Aaron Covrig via Guix-patches via
2024-10-25  0:20   ` [bug#73523] [PATCH v3 2/3] gnu: Add pywayland version 0.4.18 Aaron Covrig via Guix-patches via
2024-10-25  0:20   ` [bug#73523] [PATCH v3 3/3] gnu: Add pywlroots version 0.17.0 Aaron Covrig via Guix-patches via
2024-10-25  0:35 ` [bug#73523] Issue 73523 adjustments Aaron Covrig via Guix-patches via
2024-10-25 17:04   ` emma via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240928063520.24064-3-bigbookofbug@proton.me \
    --to=guix-patches@gnu.org \
    --cc=73523@debbugs.gnu.org \
    --cc=bigbookofbug@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.