gnu: Add python-escapism.
authorHugo Lecomte <hugo.lecomte@inria.fr>
Mon, 5 Jul 2021 07:29:24 +0000 (09:29 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 9 Jul 2021 09:58:50 +0000 (11:58 +0200)
* gnu/packages/python-xyz.scm (python-escapism): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/python-xyz.scm

index 181729b..6df3012 100644 (file)
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Danial Behzadi <dani.behzi@ubuntu.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25963,3 +25964,23 @@ 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 library for escaping strings")
+    (description
+     "This Python library provides a programming interface to, given a set of
+safe characters and an escape character, escape safe strings and unescape the
+result.")
+    (license license:expat)))