guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#49123] [PATCH 01/24] gnu: Add pyotherside.


From: slg
Subject: [bug#49123] [PATCH 01/24] gnu: Add pyotherside.
Date: Sat, 19 Jun 2021 22:07:19 -0300

* gnu/packages/qt.scm (pyotherside): New variable.
---
 gnu/packages/qt.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 19fcc2f37e..3e91a82a46 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3044,3 +3044,36 @@ being fully customizable and easy to extend.")
 also compatible with SGI and TGS Open Inventor, and the API is based on the API
 of the InventorXt GUI component toolkit.")
     (license license:bsd-3))))
+
+(define-public pyotherside
+  (let ((commit-ref "8f7e67980f7ceb2d0fc40a9568d3b10c640a8d74")
+        (revision "1"))
+    (package
+      (inherit qtsvg)
+      (name "pyotherside")
+      (version (git-version "1.5.9" revision commit-ref))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/thp/pyotherside";)
+               (commit commit-ref)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1kq8v2inwx4j9idsdxwkjas4nqyfwzwfwiiwpjqr8ggcx1z9gvi3"))))
+      (outputs '("out"))
+      (inputs
+       `(("qtbase" ,qtbase-5)
+         ("qtdeclarative" ,qtdeclarative)
+         ("qtsvg" ,qtsvg)))
+      (propagated-inputs
+       `(("python" ,python-wrapper)))
+      (native-inputs `())
+      (arguments
+       (substitute-keyword-arguments (package-arguments qtsvg)
+         ((#:tests? _ #f) #f))) ;; Plugin must be installed before testing
+      (home-page "https://thp.io/2011/pyotherside/";)
+      (synopsis "Asynchronous Python 3 Bindings for Qt 5")
+      (description "A Qt plugin providing access to a Python 3 interpreter from
+QML for creating asynchronous mobile and Desktop UIs with Python.")
+      (license license:isc))))
-- 
2.32.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]