Subject: [PATCH 1/8] gnu: Add python-escapism.

From: Hugo Lecomte <[email-masked]>
Date: Mon, 5 Jul 2021 09:29:24 +0200

* gnu/packages/python-xyz.scm (python-escapism): New variable.
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e655b3b20e..8f3a436e81 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26042,3 +26042,22 @@ is the cythonized version of @code{fractions.Fraction}.")
      "@code{pathvalidate} is a Python library to sanitize/validate strings
 representing paths or filenames.")
     (license license:expat)))
+
+(define-public python-escapism
+  (package
+    (name "python-escapism")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "escapism" version))
+       (sha256
+        (base32
+         "1v74243wifcwhj5zkdiispxc9kb1xvnfzilg8bq308pjnkgnn9bk"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/minrk/escapism")
+    (synopsis "Simple, generic API for escaping strings")
+    (description
+     "Provide a generic API, given a set of safe characters and an escape character,
+to escape safe strings and unescape the result.")
+    (license license:expat)))
-- 
2.31.1