sharlatan pushed a commit to branch python-team
in repository guix.
commit 1d951815e6caa196bb106c0c5363307150408a47
Author: Antero Mejr <[email protected]>
AuthorDate: Fri Jun 14 20:41:58 2024 +0000
gnu: Add python-installer.
* gnu/packages/python-xyz.scm (python-installer): New variable.
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-build.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
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 <[email protected]>
;;; Copyright © 2024 David Elsing <[email protected]>
;;; Copyright © 2024 Zheng Junjie <[email protected]>
+;;; Copyright © 2024 Antero Mejr <[email protected]>
;;;
;;; 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")