aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 1663d96..0228dae 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -127,3 +127,29 @@ powerful language for representing information.")
(description
"Avro is a serialization and RPC framework.")
(license #f)))
+
+(define-public python-shellescape
+(package
+ (name "python-shellescape")
+ (version "3.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/s/shellescape/shellescape-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0n5ky1b2vw2y0d4xl3qybyp2rk0gq5frjs8nr8ak6mgj2fyb4676"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page
+ "https://github.com/chrissimpkins/shellescape")
+ (synopsis
+ "Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote for Python versions 2.x & < 3.3)")
+ (description
+ "Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote for Python versions 2.x & < 3.3)")
+ (license expat))
+)