all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Covrig via Guix-patches via <guix-patches@gnu.org>
To: 73523@debbugs.gnu.org
Cc: big bug <bigbookofbug@proton.me>
Subject: [bug#73523] [PATCH v3 3/3] gnu: Add pywlroots version 0.17.0
Date: Thu, 24 Oct 2024 20:20:31 -0400	[thread overview]
Message-ID: <20241025002059.995836-3-aaron.covrig.us@ieee.org> (raw)
In-Reply-To: <20241025002059.995836-1-aaron.covrig.us@ieee.org>

From: big bug <bigbookofbug@proton.me>

* gnu/packages/python-xyz (python-pywlroots): New variable.
---
 gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 41ed393f67..d22fef08b9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -287,6 +287,7 @@ (define-module (gnu packages python-xyz)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages wm)
   #:use-module (gnu packages wxwidgets)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xdisorg)
@@ -37150,6 +37151,44 @@ (define-public python-pywayland
 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-srt
   (package
     (name "python-srt")
-- 
2.46.0





  parent reply	other threads:[~2024-10-25  0:24 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   ` [bug#73523] [PATCH 3/3] [PATCH 3/3] " bigbookofbug--- via Guix-patches via
2024-09-28  6:40 ` [bug#73523] [PATCH 2/3] [PATCH 2/3] " 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   ` Aaron Covrig via Guix-patches via [this message]
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=20241025002059.995836-3-aaron.covrig.us@ieee.org \
    --to=guix-patches@gnu.org \
    --cc=73523@debbugs.gnu.org \
    --cc=aaron.covrig.us@ieee.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.