This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new fabcfb48eb gnu: Add python-elevate.
fabcfb48eb is described below

commit fabcfb48ebdf9643205e3b9bbdd84572029a1c24
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Mon Feb 3 13:54:08 2025 +0100

    gnu: Add python-elevate.
    
    * gnu/packages/python-xyz.scm (python-elevate): New variable.
    
    Change-Id: Ib29baca60329ac97310b5798643545e707cc484a
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b4c6e250a7..476d74a915 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7263,6 +7263,31 @@ important tasks for becoming a daemon process:
     ;; Only setup.py is gpl3+, everything else is apache 2.0 licensed.
     (license (list license:asl2.0 license:gpl3+))))
 
+(define-public python-elevate
+  (package
+    (name "python-elevate")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "elevate" version))
+       (sha256
+        (base32 "02g23lxzzl64j1b4fsnrdxqiahl9lnrqyxpqwcfzn0g33px1kbak"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'clean-up
+           (lambda _
+             ;; Uses stuff we don't have.
+             (delete-file "elevate/windows.py"))))))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/barneygale/elevate";)
+    (synopsis "Python library for requesting root privileges")
+    (description "This package provides a Python library for requesting
+root privileges.")
+    (license license:expat)))
+
 (define-public python-annotated-types
   (package
     (name "python-annotated-types")

Reply via email to