pythonPackages.shellescape: init at 3.8.1

This commit is contained in:
Dmitry Kalinkin 2021-07-21 00:51:37 -04:00
parent ee63a081ba
commit 81e3df355a
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "shellescape";
version = "3.8.1";
src = fetchFromGitHub {
owner = "chrissimpkins";
repo = "shellescape";
rev = "v${version}";
hash = "sha256-HAe3Qf3lLeVWw/tVkW0J+CfoxSoOnCcWDR2nEWZn7HM=";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "shellescape" ];
meta = with lib; {
description = "Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote)";
homepage = "https://github.com/chrissimpkins/shellescape";
license = with licenses; [ mit psfl ];
maintainers = with maintainers; [ veprbl ];
};
}

View file

@ -7938,6 +7938,8 @@ in {
sh = callPackage ../development/python-modules/sh { };
shellescape = callPackage ../development/python-modules/shellescape { };
shellingham = callPackage ../development/python-modules/shellingham { };
shiboken2 = toPythonModule (callPackage ../development/python-modules/shiboken2 {