diff options
author | Antero Mejr <mail@antr.me> | 2024-06-14 20:41:58 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:28:37 +0000 |
commit | ec9381fbe706139062913e3e77c8497e216ca6b8 (patch) | |
tree | 9b995e256421cb6294915e2d47a301349a72b92f /gnu | |
parent | fdd036fce7edc652538e58ab4dc86408c1efd439 (diff) | |
download | guix-ec9381fbe706139062913e3e77c8497e216ca6b8.tar.gz guix-ec9381fbe706139062913e3e77c8497e216ca6b8.zip |
gnu: Add python-installer.
* gnu/packages/python-xyz.scm (python-installer): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-build.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index aa58a08a5c..7e959a3630 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2022 Greg Hogan <code@greghogan.com> ;;; Copyright © 2024 David Elsing <david.elsing@posteo.net> ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Antero Mejr <mail@antr.me> ;;; ;;; This file is part of GNU Guix. ;;; @@ -837,6 +838,28 @@ parts of files defined using cut-off points or regular expressions.") version control system (like Git) to determine project versions.") (license license:expat))) +(define-public python-installer + (package + (name "python-installer") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "installer" version)) + (sha256 + (base32 "0cdnqh3a3amw8k4s1pzfjh0hpvzw4pczgl702s1b16r82qqkwvd2")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ;avoid extra test dependencies + (native-inputs + (list python-flit-core)) + (home-page "https://installer.rtfd.io/") + (synopsis "Installer library for Python wheels") + (description + "This package provides a low-level library for installing a Python +package from a wheel distribution. It provides basic functionality and +abstractions for handling wheels and installing packages from wheels.") + (license license:expat))) + (define-public python-pdm-backend (package (name "python-pdm-backend") |