summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2025-02-03 13:54:08 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2025-02-03 13:54:08 +0100
commitfabcfb48ebdf9643205e3b9bbdd84572029a1c24 (patch)
treef52e14c74e32647dcaf10034293d4dbc147eccdd /gnu/packages/python-xyz.scm
parentdef8bd519775c5f64fe2975066167f3b7989a0fc (diff)
gnu: Add python-elevate.
* gnu/packages/python-xyz.scm (python-elevate): New variable. Change-Id: Ib29baca60329ac97310b5798643545e707cc484a
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b4c6e250a7a..476d74a9158 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7263,6 +7263,31 @@ important tasks for becoming a daemon process:
7263 ;; Only setup.py is gpl3+, everything else is apache 2.0 licensed. 7263 ;; Only setup.py is gpl3+, everything else is apache 2.0 licensed.
7264 (license (list license:asl2.0 license:gpl3+)))) 7264 (license (list license:asl2.0 license:gpl3+))))
7265 7265
7266(define-public python-elevate
7267 (package
7268 (name "python-elevate")
7269 (version "0.1.3")
7270 (source
7271 (origin
7272 (method url-fetch)
7273 (uri (pypi-uri "elevate" version))
7274 (sha256
7275 (base32 "02g23lxzzl64j1b4fsnrdxqiahl9lnrqyxpqwcfzn0g33px1kbak"))))
7276 (build-system pyproject-build-system)
7277 (arguments
7278 `(#:phases
7279 (modify-phases %standard-phases
7280 (add-after 'unpack 'clean-up
7281 (lambda _
7282 ;; Uses stuff we don't have.
7283 (delete-file "elevate/windows.py"))))))
7284 (native-inputs (list python-setuptools python-wheel))
7285 (home-page "https://github.com/barneygale/elevate")
7286 (synopsis "Python library for requesting root privileges")
7287 (description "This package provides a Python library for requesting
7288root privileges.")
7289 (license license:expat)))
7290
7266(define-public python-annotated-types 7291(define-public python-annotated-types
7267 (package 7292 (package
7268 (name "python-annotated-types") 7293 (name "python-annotated-types")