all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ryan Prior via Guix-patches via <guix-patches@gnu.org>
To: 55308@debbugs.gnu.org
Subject: [bug#55308] [PATCH 2/2] gnu: Add python-kivymd.
Date: Sun, 08 May 2022 01:45:36 +0000	[thread overview]
Message-ID: <20220508014521.28894-2-rprior@protonmail.com> (raw)
In-Reply-To: <20220508014521.28894-1-rprior@protonmail.com>

* gnu/packages/python-xyz.scm (python-kivymd): New symbol.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1ac2d67da9..dd9d71b89b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17552,6 +17552,34 @@ (define-public python-kivy
 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
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'sanity-check 'set-home
+           (lambda _
+             ;; 'kivy/__init__.py' wants to create $HOME/.kivy.
+             (setenv "HOME" (getcwd)))))))            ; Tests require network
+    (propagated-inputs
+     (list python-kivy python-pillow python-pygments python-docutils python-kivy-garden))
+    (home-page "https://github.com/kivymd/KivyMD")
+    (synopsis "A collection of 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))

--
2.36.0






  reply	other threads:[~2022-05-08  1:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-08  1:38 [bug#55308] [PATCH 0/2] Packaging kivymd Ryan Prior via Guix-patches via
2022-05-08  1:45 ` [bug#55308] [PATCH 1/2] gnu: python-kivy: Update to 2.1.0 Ryan Prior via Guix-patches via
2022-05-08  1:45   ` Ryan Prior via Guix-patches via [this message]
2022-05-20 18:13     ` bug#55308: [PATCH 0/2] Packaging kivymd Ludovic Courtès

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=20220508014521.28894-2-rprior@protonmail.com \
    --to=guix-patches@gnu.org \
    --cc=55308@debbugs.gnu.org \
    --cc=rprior@protonmail.com \
    /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.