GNU bug report logs - #66208
[PATCH] gnu: add python-shshsh

Previous Next

Package: guix-patches;

Reported by: Andrew Jose <arnav.jose <at> gmail.com>

Date: Tue, 26 Sep 2023 09:31:01 UTC

Owned by: Steve George <steve <at> futurile.net>

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Steve George <steve <at> futurile.net>
To: 66208 <at> debbugs.gnu.org
Cc: arnav.jose <at> gmail.com, steve <at> futurile.net, lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de
Subject: [bug#66208] [PATCH v2 1/1] gnu: Add python-shshsh.
Date: Thu,  4 Apr 2024 22:46:18 +0100
From: Andrew Jose <arnav.jose <at> gmail.com>

* gnu/packages/python-xyz.scm (python-shshsh): New variable.

Reviewed-by: Steve George <steve <at> futurile.net>
Change-Id: Iadd75c769a4391195b32789590f94fd8afbe21b6
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cd10f304c83..f201b3ec31e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20738,6 +20738,35 @@ (define-public python-shellingham
 running in.")
     (license license:isc)))
 
+(define-public python-shshsh
+  (package
+   (name "python-shshsh")
+   (version "1.0.5")
+   (source
+    (origin
+     (method git-fetch)
+     (uri
+       (git-reference
+         (url "https://github.com/zqqqqz2000/shshsh")
+         (commit
+           "fd21c8696aebaae04507760c16cb45979291fef5")))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32
+           "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f"))))
+   (build-system pyproject-build-system)
+   (native-inputs
+     (list python-poetry-core
+           python-pytest
+           python-tox))
+   (home-page "https://github.com/zqqqqz2000/shshsh")
+   (synopsis "Write Shell commands simply and safely within Python")
+   (description "This package provides a way to write Shell commands from
+within Python.  Python functions can be chained together to process input
+Bash control characters are escapted so that parameters can be passed
+without worrying about command injection.")
+   (license license:expat)))
+
 (define-public python-memcached
   (package
     (name "python-memcached")
-- 
2.41.0





This bug report was last modified 1 year and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.