From ec9381fbe706139062913e3e77c8497e216ca6b8 Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Fri, 14 Jun 2024 20:41:58 +0000 Subject: gnu: Add python-installer. * gnu/packages/python-xyz.scm (python-installer): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-build.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python-build.scm') diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index aa58a08a5c3..7e959a3630b 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2022 Greg Hogan ;;; Copyright © 2024 David Elsing ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Antero Mejr ;;; ;;; 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") -- cgit v1.3