From 4204af996729547a14fd17ce205896ccbb6761c3 Mon Sep 17 00:00:00 2001 From: Hugo Lecomte Date: Mon, 5 Jul 2021 09:29:24 +0200 Subject: [PATCH] gnu: Add python-escapism. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-escapism): New variable. Co-authored-by: Ludovic Courtès --- 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 181729b2bb..6df3012b7e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -104,6 +104,7 @@ ;;; Copyright © 2021 jgart ;;; Copyright © 2021 Danial Behzadi ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2021 Hugo Lecomte ;;; ;;; 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))) -- 2.20.1