guix-commits
[Top][All Lists]
Advanced

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

05/08: gnu: Add python-kivymd.


From: guix-commits
Subject: 05/08: gnu: Add python-kivymd.
Date: Fri, 20 May 2022 14:28:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1594d6c93a5c7d927bd7505c689e267560df73db
Author: Ryan Prior <rprior@protonmail.com>
AuthorDate: Sun May 8 01:45:36 2022 +0000

    gnu: Add python-kivymd.
    
    * gnu/packages/python-xyz.scm (python-kivymd): New symbol.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4794195c8f..b8fd857fd6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18670,6 +18670,35 @@ for Kivy, the multitouch application platform.")
 multitouch applications.")
     (license license:expat)))
 
+(define-public python-kivymd
+  (package
+    (name "python-kivymd")
+    (version "0.104.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "kivymd" version))
+       (sha256
+        (base32 "04lwy6j0agrdwa4a6dl6qs97nx9ysmscmm8psvdzjpyj8aa1zg4p"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                                ;tests require network
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'sanity-check 'set-home
+           (lambda _
+             ;; 'kivy/__init__.py' wants to create $HOME/.kivy.
+             (setenv "HOME" (getcwd)))))))
+    (native-inputs (list python-docutils))
+    (propagated-inputs
+     (list python-kivy python-pillow python-pygments python-kivy-garden))
+    (home-page "https://github.com/kivymd/KivyMD";)
+    (synopsis "Material Design compliant widgets for use with Kivy")
+    (description
+     "This package provides Kivy widgets that approximate Google's Material
+Design spec without sacrificing ease of use or application performance.")
+    (license license:expat)))
+
 (define-public python2-kivy
   (package-with-python2 python-kivy))
 



reply via email to

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