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

From: Antero Mejr <[email-masked]>
Date: Thu, 13 Jun 2024 19:26:00 +0000

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

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1584703ac1..7f6dc0cf81 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21310,6 +21310,27 @@ (define-public python-installer
 abstractions for handling wheels and installing packages from wheels.")
     (license license:expat)))
 
+(define-public python-poetry-plugin-export
+  (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)
+    (native-inputs (list python-poetry-core))
+    (propagated-inputs (list poetry 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.41.0