guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71540] [PATCH 2/8] gnu: Add python-poetry-plugin-export.


From: Antero Mejr
Subject: [bug#71540] [PATCH 2/8] gnu: Add python-poetry-plugin-export.
Date: Fri, 14 Jun 2024 20:42:34 +0000

* gnu/packages/python-xyz.scm (python-poetry-plugin-export): New variable.

Change-Id: Idd7884de2d1e300fce6fea641de44219bf971293
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6c246c5eff..3231fc9729 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21529,6 +21529,31 @@ (define-public python-installer
 abstractions for handling wheels and installing packages from wheels.")
     (license license:expat)))
 
+(define-public python-poetry-plugin-export
+  (hidden-package
+   (package
+     (name "python-poetry-plugin-export")
+     (version "1.8.0")
+     (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "poetry_plugin_export" version))
+        (sha256
+         (base32 "0qgw6w4xaw7cz9ykw376c5hcg9v2k30lnmna6pc9b4ymhn51d9hz"))))
+     (build-system pyproject-build-system)
+     ;; Work around the circular dependency introduced by the Poetry devs.
+     (arguments (list #:tests? #f
+                      #:phases #~(modify-phases %standard-phases
+                                   (delete 'sanity-check))))
+     (native-inputs (list python-poetry-core))
+     (home-page "https://python-poetry.org/";)
+     (synopsis "Poetry plugin to export dependencies")
+     (description "This package provides a Poetry plugin that allows the
+export of locked packages to various formats.  This plugin provides the same
+features as the existing @code{export} command of Poetry which it will
+eventually replace.")
+     (license license:expat))))
+
 (define-public poetry
   (package
     (name "poetry")
-- 
2.45.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]