gnu: Add python-elevate.

* gnu/packages/python-xyz.scm (python-elevate): New variable.

Change-Id: Ib29baca60329ac97310b5798643545e707cc484a
This commit is contained in:
Danny Milosavljevic 2025-02-03 13:54:08 +01:00
parent def8bd5197
commit fabcfb48eb
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -7263,6 +7263,31 @@ important tasks for becoming a daemon process:
;; Only setup.py is gpl3+, everything else is apache 2.0 licensed. ;; Only setup.py is gpl3+, everything else is apache 2.0 licensed.
(license (list license:asl2.0 license:gpl3+)))) (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 (define-public python-annotated-types
(package (package
(name "python-annotated-types") (name "python-annotated-types")