diff options
author | Danny Milosavljevic <[email protected]> | 2025-02-03 13:54:08 +0100 |
---|---|---|
committer | Danny Milosavljevic <[email protected]> | 2025-02-03 13:54:08 +0100 |
commit | fabcfb48ebdf9643205e3b9bbdd84572029a1c24 (patch) | |
tree | f52e14c74e32647dcaf10034293d4dbc147eccdd /gnu | |
parent | def8bd519775c5f64fe2975066167f3b7989a0fc (diff) |
gnu: Add python-elevate.
* gnu/packages/python-xyz.scm (python-elevate): New variable.
Change-Id: Ib29baca60329ac97310b5798643545e707cc484a
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 25 |
1 files changed, 25 insertions, 0 deletions
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") |